Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2983/0.2983, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.435e-05, allocations: 5.688 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.306/0.306, allocations: 178.1 MB / 0.5431 GB, free: 13.11 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3075, allocations: 0.897 MB / 0.5439 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.3077, allocations: 13.59 kB / 0.5439 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.3082, allocations: 200.6 kB / 0.5441 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.3086, allocations: 301.8 kB / 0.5444 GB, free: 12.19 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.312, allocations: 1.998 MB / 0.5464 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007864/0.3128, allocations: 0.9955 MB / 0.5473 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.3132, allocations: 291.3 kB / 0.5476 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.3155, allocations: 1.729 MB / 0.5493 GB, free: 9.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.3159, allocations: 308 kB / 0.5496 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.3159, allocations: 45.56 kB / 0.5496 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.3184, allocations: 2.296 MB / 0.5519 GB, free: 8.121 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.3186, allocations: 214.5 kB / 0.5521 GB, free: 7.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3188, allocations: 202.5 kB / 0.5523 GB, free: 7.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.3212, allocations: 1.999 MB / 0.5542 GB, free: 5.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3212, allocations: 0 / 0.5542 GB, free: 5.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3212, allocations: 0 / 0.5542 GB, free: 5.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3212, allocations: 4 kB / 0.5542 GB, free: 5.922 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.001352/0.3225, allocations: 1.098 MB / 0.5553 GB, free: 4.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3226, allocations: 8.031 kB / 0.5553 GB, free: 4.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.3228, allocations: 99.22 kB / 0.5554 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.3232, allocations: 329.6 kB / 0.5557 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3233, allocations: 29 kB / 0.5558 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.3233, allocations: 44 kB / 0.5558 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.324, allocations: 0.6541 MB / 0.5564 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.324, allocations: 4 kB / 0.5564 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.324, allocations: 16 kB / 0.5565 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.324, allocations: 15.92 kB / 0.5565 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.3245, allocations: 251.7 kB / 0.5567 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.3261, allocations: 1.737 MB / 0.5584 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.3265, allocations: 234.2 kB / 0.5586 GB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3267, allocations: 95.02 kB / 0.5587 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.327, allocations: 131.9 kB / 0.5589 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.327, allocations: 49.27 kB / 0.5589 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.327, allocations: 0 / 0.5589 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006041/0.3276, allocations: 283.3 kB / 0.5592 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.3277, allocations: 106.8 kB / 0.5593 GB, free: 452 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.3279, allocations: 326.3 kB / 0.5596 GB, free: 112 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.328, allocations: 33.7 kB / 0.5596 GB, free: 72 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3281, allocations: 287.2 kB / 0.5599 GB, free: 15.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.3281, allocations: 103 kB / 0.56 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.3282, allocations: 87.7 kB / 0.5601 GB, free: 15.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3284, allocations: 0.5079 MB / 0.5606 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3285, allocations: 120.1 kB / 0.5607 GB, free: 14.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3287, allocations: 272.8 kB / 0.5609 GB, free: 14.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3291, allocations: 363.3 kB / 0.5613 GB, free: 14.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3291, allocations: 4 kB / 0.5613 GB, free: 14.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005392/0.3296, allocations: 455.9 kB / 0.5617 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.3296, allocations: 67.28 kB / 0.5618 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3296, allocations: 4 kB / 0.5618 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3297, allocations: 4.375 kB / 0.5618 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3299, allocations: 83.89 kB / 0.5619 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3299, allocations: 8 kB / 0.5619 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.33, allocations: 43.66 kB / 0.5619 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.33, allocations: 20 kB / 0.5619 GB, free: 13.46 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.0001249/0.3302, allocations: 180.5 kB / 0.5621 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3303, allocations: 47.75 kB / 0.5622 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.3308, allocations: 355.7 kB / 0.5625 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3308, allocations: 4 kB / 0.5625 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3308, allocations: 4 kB / 0.5625 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3308, allocations: 3.984 kB / 0.5625 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3321, allocations: 1.199 MB / 0.5637 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3321, allocations: 4.188 kB / 0.5637 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3323, allocations: 67.28 kB / 0.5638 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3323, allocations: 4 kB / 0.5638 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3323, allocations: 8 kB / 0.5638 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3323, allocations: 4 kB / 0.5638 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3323, allocations: 3.984 kB / 0.5638 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3327, allocations: 0.6643 MB / 0.5644 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.3328, allocations: 35.75 kB / 0.5645 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3328, allocations: 11.94 kB / 0.5645 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.333, allocations: 19.98 kB / 0.5645 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.3331, allocations: 35.83 kB / 0.5645 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.3331, allocations: 19.98 kB / 0.5645 GB, free: 10.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002948/0.3334, allocations: 259 kB / 0.5648 GB, free: 10.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 0.5648 GB, free: 10.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006997/0.3341, allocations: 366.9 kB / 0.5651 GB, free: 10.06 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.000785/0.3349, allocations: 0.5222 MB / 0.5656 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3353, allocations: 377.5 kB / 0.566 GB, free: 9.137 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3353, allocations: 0 / 0.566 GB, free: 9.137 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3354, allocations: 107.8 kB / 0.5661 GB, free: 9.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.3361, allocations: 224.4 kB / 0.5663 GB, free: 8.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3371, allocations: 0.7409 MB / 0.567 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.3372, allocations: 125.6 kB / 0.5672 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.3374, allocations: 96.67 kB / 0.5673 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.3375, allocations: 40.5 kB / 0.5673 GB, free: 7.766 MB / 442.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3375, allocations: 4 kB / 0.5673 GB, free: 7.762 MB / 442.7 MB Notification: Performance of Templates: time 0.01421/0.3517, allocations: 13.53 MB / 0.5805 GB, free: 10.43 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7266103730071336]