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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 84.34 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 162.9 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.033/1.033, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.194/0.194, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 179] 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=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.822e-05, allocations: 3.828 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.007329/0.007367, allocations: 6.51 MB / 386.5 MB, free: 16.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006512/0.01388, allocations: 4.681 MB / 391.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006585/0.01454, allocations: 23.75 kB / 391.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006006/0.01514, allocations: 138.9 kB / 391.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.01722, allocations: 0.6993 MB / 392 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.02126, allocations: 1.609 MB / 393.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.02323, allocations: 1.2 MB / 394.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.02382, allocations: 297.7 kB / 395.1 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.025, allocations: 0.6547 MB / 395.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.02571, allocations: 422.8 kB / 396.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/0.0258, allocations: 44 kB / 396.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.02784, allocations: 0.8462 MB / 397.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.02806, allocations: 179.5 kB / 397.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.02829, allocations: 191.5 kB / 397.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.03039, allocations: 1.211 MB / 398.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.0304, allocations: 4 kB / 398.7 MB, free: 4.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.0304, allocations: 0 / 398.7 MB, free: 4.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.03042, allocations: 0 / 398.7 MB, free: 4.02 MB / 314.7 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.00161/0.03203, allocations: 0.9864 MB / 399.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.03209, allocations: 8.031 kB / 399.7 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.03236, allocations: 96.42 kB / 399.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.03288, allocations: 420.9 kB / 400.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.03292, allocations: 24.66 kB / 400.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.03296, allocations: 28 kB / 400.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.03348, allocations: 0.6146 MB / 400.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.03349, allocations: 0 / 400.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.03353, allocations: 19.98 kB / 400.9 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.03357, allocations: 32.62 kB / 400.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.03383, allocations: 200.6 kB / 401.1 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.03594, allocations: 1.955 MB / 403 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.0363, allocations: 140.8 kB / 403.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.03639, allocations: 81.34 kB / 403.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.0371, allocations: 0.5621 MB / 403.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.03742, allocations: 312.4 kB / 404.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.977e-06/0.03742, allocations: 0 / 404.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004443/0.03787, allocations: 282.4 kB / 404.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.03802, allocations: 243.3 kB / 404.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.03867, allocations: 454.2 kB / 405.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.03871, allocations: 33.7 kB / 405.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.03897, allocations: 354.4 kB / 405.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.03902, allocations: 59.52 kB / 405.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.03915, allocations: 107.2 kB / 405.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.03937, allocations: 0.5273 MB / 406.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.03948, allocations: 81.78 kB / 406.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.03985, allocations: 474.7 kB / 406.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.04024, allocations: 371.1 kB / 407.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.04025, allocations: 0 / 407.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005656/0.04082, allocations: 405.5 kB / 407.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.04088, allocations: 37.69 kB / 407.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.0409, allocations: 4 kB / 407.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.04092, allocations: 8 kB / 407.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.04114, allocations: 79.84 kB / 407.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.04115, allocations: 7.938 kB / 407.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.04139, allocations: 51.72 kB / 407.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.04142, allocations: 12 kB / 407.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001927/0.04161, allocations: 205 kB / 407.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006371/0.04225, allocations: 486.3 kB / 408.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003165/0.04256, allocations: 375.3 kB / 408.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.626e-06/0.04257, allocations: 0 / 408.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0005064/0.04307, allocations: 400.2 kB / 409.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.04312, allocations: 45.62 kB / 409.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.04313, allocations: 4 kB / 409.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.04313, allocations: 8 kB / 409.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.04329, allocations: 72.5 kB / 409.2 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.0433, allocations: 11.88 kB / 409.2 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.0435, allocations: 55.72 kB / 409.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.04352, allocations: 16.12 kB / 409.3 MB, free: 8.312 MB / 330.7 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.0002863/0.04381, allocations: 333.6 kB / 409.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.04388, allocations: 47.77 kB / 409.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.0443, allocations: 270.1 kB / 409.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.04431, allocations: 0 / 409.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.04431, allocations: 7.938 kB / 409.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.04432, allocations: 4 kB / 409.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.04464, allocations: 236.9 kB / 410.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.04465, allocations: 0 / 410.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.04471, allocations: 23.94 kB / 410.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.04472, allocations: 4 kB / 410.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.04473, allocations: 3.984 kB / 410.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.04474, allocations: 4 kB / 410.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.04474, allocations: 0 / 410.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.04509, allocations: 311 kB / 410.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.04514, allocations: 35.7 kB / 410.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.04519, allocations: 12 kB / 410.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.04528, allocations: 11.98 kB / 410.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.04534, allocations: 11.98 kB / 410.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.04536, allocations: 8 kB / 410.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.04557, allocations: 286.9 kB / 410.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04557, allocations: 0 / 410.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001279/0.04685, allocations: 438.8 kB / 411.3 MB, free: 6.219 MB / 330.7 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 (15): * Single equations (assignments): 14 * 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.0008126/0.04766, allocations: 415.3 kB / 411.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006936/0.04835, allocations: 0.5149 MB / 412.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.04836, allocations: 0 / 412.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.04847, allocations: 152.8 kB / 412.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.04906, allocations: 178.3 kB / 412.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.05064, allocations: 0.7387 MB / 413.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.05074, allocations: 133.2 kB / 413.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.05102, allocations: 86.89 kB / 413.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.05144, allocations: 266 kB / 413.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of SimCode: time 2.936e-06/0.05144, allocations: 0 / 413.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of Templates: time 0.02025/0.0717, allocations: 12.23 MB / 426 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9636451131664217]