Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 83.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3857, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01448/0.4002, allocations: 12.7 MB / 0.544 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008478/0.4088, allocations: 5.485 MB / 0.5494 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.4095, allocations: 13.62 kB / 0.5494 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.4103, allocations: 216.8 kB / 0.5496 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.4125, allocations: 0.7001 MB / 0.5503 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.4169, allocations: 1.564 MB / 0.5518 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.4187, allocations: 1.239 MB / 0.553 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.4193, allocations: 317.2 kB / 0.5533 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.4202, allocations: 0.5178 MB / 0.5538 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.4209, allocations: 462.4 kB / 0.5543 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.4209, allocations: 43.94 kB / 0.5543 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.4232, allocations: 1.073 MB / 0.5554 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4235, allocations: 171.5 kB / 0.5555 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.4238, allocations: 274.7 kB / 0.5558 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4258, allocations: 1.315 MB / 0.5571 GB, free: 7.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4259, allocations: 4 kB / 0.5571 GB, free: 7.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4259, allocations: 3.938 kB / 0.5571 GB, free: 7.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4259, allocations: 3.938 kB / 0.5571 GB, free: 7.605 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001818/0.4277, allocations: 0.9599 MB / 0.558 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4278, allocations: 8.031 kB / 0.558 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.428, allocations: 56.38 kB / 0.5581 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.4287, allocations: 469.5 kB / 0.5585 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.4287, allocations: 24.55 kB / 0.5586 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.4288, allocations: 31.94 kB / 0.5586 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.4296, allocations: 0.5224 MB / 0.5591 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4296, allocations: 0 / 0.5591 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.4297, allocations: 16 kB / 0.5591 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.4297, allocations: 28.53 kB / 0.5592 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.4305, allocations: 465.9 kB / 0.5596 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.4336, allocations: 2.242 MB / 0.5618 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.434, allocations: 242.6 kB / 0.562 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.4342, allocations: 136.8 kB / 0.5621 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.4354, allocations: 1.025 MB / 0.5631 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.4357, allocations: 216.4 kB / 0.5634 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.4357, allocations: 0 / 0.5634 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006818/0.4364, allocations: 385.1 kB / 0.5637 GB, free: 380 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4365, allocations: 239.3 kB / 0.5639 GB, free: 84 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.4371, allocations: 0.5136 MB / 0.5645 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4372, allocations: 33.7 kB / 0.5645 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.4374, allocations: 287.1 kB / 0.5648 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.4375, allocations: 59.27 kB / 0.5648 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4376, allocations: 101.6 kB / 0.5649 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4378, allocations: 358.7 kB / 0.5653 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.438, allocations: 137.2 kB / 0.5654 GB, free: 14.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.4384, allocations: 314.1 kB / 0.5657 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.4389, allocations: 465 kB / 0.5661 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.439, allocations: 4 kB / 0.5661 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007955/0.4398, allocations: 0.5304 MB / 0.5666 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.4398, allocations: 45.69 kB / 0.5667 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4398, allocations: 4 kB / 0.5667 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4399, allocations: 4 kB / 0.5667 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4402, allocations: 87.84 kB / 0.5668 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4402, allocations: 11.98 kB / 0.5668 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.4406, allocations: 55.38 kB / 0.5668 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.4406, allocations: 23.98 kB / 0.5669 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003465/0.441, allocations: 280.5 kB / 0.5671 GB, free: 12.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003598/0.4413, allocations: 310 kB / 0.5674 GB, free: 12.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005142/0.4419, allocations: 456.3 kB / 0.5679 GB, free: 11.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.4419, allocations: 8 kB / 0.5679 GB, free: 11.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007878/0.4427, allocations: 0.5198 MB / 0.5684 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.4427, allocations: 38.3 kB / 0.5684 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4427, allocations: 8 kB / 0.5684 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.4428, allocations: 11.98 kB / 0.5684 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.443, allocations: 71.91 kB / 0.5685 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.443, allocations: 11.94 kB / 0.5685 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.4434, allocations: 39.73 kB / 0.5686 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.4435, allocations: 20 kB / 0.5686 GB, free: 10.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.4437, allocations: 245.8 kB / 0.5688 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.4438, allocations: 51.38 kB / 0.5689 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.4444, allocations: 362.4 kB / 0.5692 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4444, allocations: 7.938 kB / 0.5692 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4444, allocations: 0 / 0.5692 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4444, allocations: 0 / 0.5692 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.4449, allocations: 417.2 kB / 0.5696 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4449, allocations: 0 / 0.5696 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.445, allocations: 27.97 kB / 0.5696 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.445, allocations: 3.984 kB / 0.5696 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4451, allocations: 12 kB / 0.5697 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4451, allocations: 3.938 kB / 0.5697 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4451, allocations: 0 / 0.5697 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4456, allocations: 358.1 kB / 0.57 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4458, allocations: 128.4 kB / 0.5701 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.4458, allocations: 12 kB / 0.5701 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4461, allocations: 11.98 kB / 0.5701 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4461, allocations: 15.98 kB / 0.5702 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.4462, allocations: 8 kB / 0.5702 GB, free: 9.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.4466, allocations: 370.8 kB / 0.5705 GB, free: 8.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4466, allocations: 0 / 0.5705 GB, free: 8.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001171/0.4478, allocations: 435.6 kB / 0.5709 GB, free: 8.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/0.4491, allocations: 428.8 kB / 0.5713 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4502, allocations: 0.6681 MB / 0.572 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4502, allocations: 0 / 0.572 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.4505, allocations: 187.8 kB / 0.5722 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.4514, allocations: 207.5 kB / 0.5724 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.453, allocations: 0.8612 MB / 0.5732 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4534, allocations: 0.8431 MB / 0.574 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4536, allocations: 43.44 kB / 0.5741 GB, free: 5.109 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4536, allocations: 3.938 kB / 0.5741 GB, free: 5.105 MB / 430.1 MB Notification: Performance of Templates: time 0.01746/0.471, allocations: 10.23 MB / 0.5841 GB, free: 10.92 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches