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.00095/0.00095, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001068/0.001068, allocations: 161 kB / 24.91 MB, free: 9.195 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 0.9281/0.9281, allocations: 177 MB / 205.2 MB, free: 5.469 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.294/0.294, allocations: 34.86 MB / 296.6 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] 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.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.679e-05, allocations: 12.14 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.008934/0.008961, allocations: 6.546 MB / 332.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007272/0.01623, allocations: 4.756 MB / 337.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.01672, allocations: 19.81 kB / 337.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.01726, allocations: 142.9 kB / 337.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.01911, allocations: 0.7032 MB / 338.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.02301, allocations: 1.598 MB / 339.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.02434, allocations: 1.176 MB / 340.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.02487, allocations: 289.7 kB / 341.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.02588, allocations: 0.6546 MB / 341.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.02648, allocations: 375 kB / 342.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.02655, allocations: 44 kB / 342.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.02799, allocations: 0.8462 MB / 343 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.02815, allocations: 175.5 kB / 343.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.02835, allocations: 191.6 kB / 343.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.03021, allocations: 1.207 MB / 344.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03021, allocations: 0 / 344.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03021, allocations: 0 / 344.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.03022, allocations: 0 / 344.6 MB, free: 4.387 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.001266/0.03149, allocations: 0.8577 MB / 345.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.03153, allocations: 12.03 kB / 345.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.03174, allocations: 80.73 kB / 345.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.03221, allocations: 371.4 kB / 345.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.03224, allocations: 20.66 kB / 345.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.03229, allocations: 39.97 kB / 346 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.03277, allocations: 0.5893 MB / 346.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.03278, allocations: 0 / 346.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.03281, allocations: 15.98 kB / 346.6 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.03285, allocations: 32.64 kB / 346.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.03309, allocations: 197.2 kB / 346.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.03462, allocations: 1.391 MB / 348.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.03479, allocations: 174.8 kB / 348.4 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.03485, allocations: 66.55 kB / 348.4 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.03537, allocations: 474.1 kB / 348.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.03558, allocations: 287.7 kB / 349.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.03558, allocations: 4 kB / 349.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002449/0.03582, allocations: 231.6 kB / 349.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.03592, allocations: 243.2 kB / 349.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.03616, allocations: 387.1 kB / 350 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.03619, allocations: 29.7 kB / 350.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.03631, allocations: 260.8 kB / 350.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.03634, allocations: 63.45 kB / 350.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.03644, allocations: 89.59 kB / 350.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.03653, allocations: 362.6 kB / 350.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.03661, allocations: 73.88 kB / 350.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.03681, allocations: 397.2 kB / 351.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.03704, allocations: 322.7 kB / 351.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03704, allocations: 0 / 351.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002967/0.03734, allocations: 316.2 kB / 351.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.03737, allocations: 41.62 kB / 351.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.03738, allocations: 4 kB / 351.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.0374, allocations: 8 kB / 351.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.03758, allocations: 72.5 kB / 352 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.03759, allocations: 15.88 kB / 352 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.03776, allocations: 55.66 kB / 352.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.03779, allocations: 12 kB / 352.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001332/0.03792, allocations: 164.7 kB / 352.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001818/0.0381, allocations: 405.9 kB / 352.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002211/0.03832, allocations: 311.7 kB / 353 MB, free: 11.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.03832, allocations: 4 kB / 353 MB, free: 11.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0003068/0.03863, allocations: 313.2 kB / 353.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.03866, allocations: 45.75 kB / 353.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.03867, allocations: 8 kB / 353.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.03867, allocations: 4 kB / 353.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.03893, allocations: 71.91 kB / 353.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.03894, allocations: 12.05 kB / 353.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.0392, allocations: 47.78 kB / 353.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.03922, allocations: 16 kB / 353.5 MB, free: 10.61 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.0001473/0.03937, allocations: 248.2 kB / 353.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.03941, allocations: 35.95 kB / 353.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.03964, allocations: 215.2 kB / 354 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03964, allocations: 0 / 354 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03965, allocations: 3.938 kB / 354 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.03965, allocations: 0 / 354 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.03984, allocations: 193.6 kB / 354.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03985, allocations: 0 / 354.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.03991, allocations: 23.92 kB / 354.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.03991, allocations: 0 / 354.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.03992, allocations: 8 kB / 354.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.03993, allocations: 4 kB / 354.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03993, allocations: 3.938 kB / 354.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.0401, allocations: 237.2 kB / 354.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.04014, allocations: 39.7 kB / 354.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.04018, allocations: 7.984 kB / 354.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.04027, allocations: 15.98 kB / 354.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.0403, allocations: 7.984 kB / 354.5 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.04031, allocations: 8 kB / 354.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.04043, allocations: 156.7 kB / 354.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04043, allocations: 0 / 354.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007601/0.04119, allocations: 450.6 kB / 355.1 MB, free: 8.914 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.00056/0.04175, allocations: 392.4 kB / 355.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.04215, allocations: 492.3 kB / 356 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.04216, allocations: 8 kB / 356 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.04224, allocations: 145.8 kB / 356.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.04263, allocations: 172.2 kB / 356.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.04374, allocations: 0.7554 MB / 357 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.001e-05/0.04381, allocations: 129.2 kB / 357.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.04403, allocations: 86.8 kB / 357.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.04437, allocations: 213.1 kB / 357.4 MB, free: 6.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.04437, allocations: 0 / 357.4 MB, free: 6.438 MB / 330.7 MB Notification: Performance of Templates: time 0.01559/0.05996, allocations: 12.09 MB / 369.5 MB, free: 10.52 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.221996509935707]