Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.0009241/0.0009241, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009209/0.0009209, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.574 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.2437/0.2437, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.049e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.433e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3025/0.3025, allocations: 178.1 MB / 0.5438 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3039, allocations: 0.8895 MB / 0.5446 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3041, allocations: 14.12 kB / 0.5447 GB, free: 11.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.3047, allocations: 204.6 kB / 0.5448 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.3051, allocations: 305.2 kB / 0.5451 GB, free: 11.65 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.3084, allocations: 2.001 MB / 0.5471 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007814/0.3092, allocations: 0.9841 MB / 0.5481 GB, free: 10.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.3096, allocations: 296.5 kB / 0.5483 GB, free: 9.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.3119, allocations: 1.729 MB / 0.55 GB, free: 8.777 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.3122, allocations: 293.7 kB / 0.5503 GB, free: 8.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.3122, allocations: 45.59 kB / 0.5503 GB, free: 8.621 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3147, allocations: 2.307 MB / 0.5526 GB, free: 7.469 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.3149, allocations: 215.5 kB / 0.5528 GB, free: 7.258 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.3151, allocations: 199.6 kB / 0.553 GB, free: 7.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.3171, allocations: 1.998 MB / 0.5549 GB, free: 5.059 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3171, allocations: 0 / 0.5549 GB, free: 5.059 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3171, allocations: 0 / 0.5549 GB, free: 5.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3171, allocations: 0 / 0.5549 GB, free: 5.059 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001217/0.3184, allocations: 1.101 MB / 0.556 GB, free: 3.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3184, allocations: 12.02 kB / 0.556 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.3186, allocations: 99.53 kB / 0.5561 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.319, allocations: 337.8 kB / 0.5565 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.319, allocations: 25 kB / 0.5565 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.3191, allocations: 47.31 kB / 0.5565 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.3196, allocations: 0.6464 MB / 0.5572 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3196, allocations: 0 / 0.5572 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.3197, allocations: 19.94 kB / 0.5572 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3197, allocations: 8 kB / 0.5572 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.3201, allocations: 255.7 kB / 0.5574 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3216, allocations: 1.729 MB / 0.5591 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.3219, allocations: 243.7 kB / 0.5593 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.322, allocations: 99.02 kB / 0.5594 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.3223, allocations: 135.8 kB / 0.5596 GB, free: 44 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.3223, allocations: 45.39 kB / 0.5596 GB, free: 15.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.3223, allocations: 0 / 0.5596 GB, free: 15.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005137/0.3229, allocations: 287.7 kB / 0.5599 GB, free: 15.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3229, allocations: 110.8 kB / 0.56 GB, free: 15.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3231, allocations: 326.3 kB / 0.5603 GB, free: 15.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3231, allocations: 33.7 kB / 0.5603 GB, free: 15.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3233, allocations: 279.2 kB / 0.5606 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.3234, allocations: 111 kB / 0.5607 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.3234, allocations: 83.72 kB / 0.5608 GB, free: 14.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3236, allocations: 0.5157 MB / 0.5613 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3237, allocations: 123.4 kB / 0.5614 GB, free: 14.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3239, allocations: 269.5 kB / 0.5617 GB, free: 13.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3242, allocations: 354.1 kB / 0.562 GB, free: 13.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3242, allocations: 0 / 0.562 GB, free: 13.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004858/0.3247, allocations: 456.1 kB / 0.5624 GB, free: 12.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.3248, allocations: 63.41 kB / 0.5625 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3248, allocations: 7.984 kB / 0.5625 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3248, allocations: 7.938 kB / 0.5625 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.325, allocations: 75.89 kB / 0.5626 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.325, allocations: 11.94 kB / 0.5626 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3251, allocations: 39.73 kB / 0.5626 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3252, allocations: 23.98 kB / 0.5627 GB, free: 12.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0001178/0.3253, allocations: 176.5 kB / 0.5628 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.3254, allocations: 47.88 kB / 0.5629 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.3259, allocations: 358 kB / 0.5632 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3259, allocations: 4 kB / 0.5632 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3259, allocations: 10.62 kB / 0.5632 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3259, allocations: 3.938 kB / 0.5632 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.3272, allocations: 1.203 MB / 0.5644 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3272, allocations: 4 kB / 0.5644 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3273, allocations: 59.91 kB / 0.5645 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3273, allocations: 4 kB / 0.5645 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3273, allocations: 8 kB / 0.5645 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.3274, allocations: 7.938 kB / 0.5645 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3274, allocations: 0 / 0.5645 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3278, allocations: 0.6689 MB / 0.5651 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.3278, allocations: 39.73 kB / 0.5652 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3278, allocations: 11.94 kB / 0.5652 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.328, allocations: 15.98 kB / 0.5652 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.3281, allocations: 31.89 kB / 0.5652 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3281, allocations: 19.98 kB / 0.5653 GB, free: 9.812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3283, allocations: 255 kB / 0.5655 GB, free: 9.562 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3283, allocations: 4 kB / 0.5655 GB, free: 9.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.329, allocations: 362.9 kB / 0.5658 GB, free: 9.203 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0008088/0.3298, allocations: 0.5139 MB / 0.5663 GB, free: 8.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.3302, allocations: 382.2 kB / 0.5667 GB, free: 8.277 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3302, allocations: 0 / 0.5667 GB, free: 8.277 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3303, allocations: 111.5 kB / 0.5668 GB, free: 8.168 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.331, allocations: 217 kB / 0.567 GB, free: 7.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.332, allocations: 0.7412 MB / 0.5677 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.3321, allocations: 129.6 kB / 0.5679 GB, free: 7.035 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3323, allocations: 87.78 kB / 0.568 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.3324, allocations: 44.48 kB / 0.568 GB, free: 6.914 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3324, allocations: 0 / 0.568 GB, free: 6.914 MB / 442.7 MB Notification: Performance of Templates: time 0.01454/0.3469, allocations: 13.53 MB / 0.5812 GB, free: 9.574 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.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.5933833529707044]