Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001158/0.001158, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001421/0.001421, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9888/0.9888, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2838/0.2838, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.923e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.312/0.3121, allocations: 148.8 MB / 0.5126 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3137, allocations: 0.879 MB / 0.5134 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.3139, allocations: 13.53 kB / 0.5134 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.3144, allocations: 117.5 kB / 0.5135 GB, free: 17.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.315, allocations: 298.3 kB / 0.5138 GB, free: 17.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.318, allocations: 1.327 MB / 0.5151 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.3191, allocations: 0.9695 MB / 0.5161 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.3196, allocations: 294.7 kB / 0.5163 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3207, allocations: 0.7063 MB / 0.517 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.3212, allocations: 294 kB / 0.5173 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.3213, allocations: 47.5 kB / 0.5174 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.3234, allocations: 1.38 MB / 0.5187 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.3236, allocations: 212.1 kB / 0.5189 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.3238, allocations: 198.1 kB / 0.5191 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.3258, allocations: 1.396 MB / 0.5205 GB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3259, allocations: 3.938 kB / 0.5205 GB, free: 14.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3259, allocations: 0 / 0.5205 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3259, allocations: 0 / 0.5205 GB, free: 14.63 MB / 410.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.001289/0.3272, allocations: 0.9977 MB / 0.5214 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3272, allocations: 8.062 kB / 0.5215 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.3275, allocations: 103.5 kB / 0.5216 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3278, allocations: 331.8 kB / 0.5219 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3279, allocations: 30.27 kB / 0.5219 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.3279, allocations: 40.78 kB / 0.5219 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.3284, allocations: 0.6464 MB / 0.5226 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3285, allocations: 3 kB / 0.5226 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.3285, allocations: 14.59 kB / 0.5226 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3285, allocations: 11.78 kB / 0.5226 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3289, allocations: 253.4 kB / 0.5228 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3302, allocations: 1.734 MB / 0.5245 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.3306, allocations: 240.6 kB / 0.5248 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3307, allocations: 101.6 kB / 0.5249 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.3309, allocations: 80.34 kB / 0.5249 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3309, allocations: 40.11 kB / 0.525 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.3309, allocations: 6.875 kB / 0.525 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005127/0.3315, allocations: 283.5 kB / 0.5252 GB, free: 11.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.3315, allocations: 112.3 kB / 0.5254 GB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3317, allocations: 325.5 kB / 0.5257 GB, free: 10.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3317, allocations: 35.23 kB / 0.5257 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.3318, allocations: 282.9 kB / 0.526 GB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.3319, allocations: 113.9 kB / 0.5261 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.3319, allocations: 79.98 kB / 0.5262 GB, free: 10.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.332, allocations: 0.5185 MB / 0.5267 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3321, allocations: 115 kB / 0.5268 GB, free: 9.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3323, allocations: 267 kB / 0.527 GB, free: 9.664 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3326, allocations: 363.8 kB / 0.5274 GB, free: 9.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3326, allocations: 2.75 kB / 0.5274 GB, free: 9.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004597/0.3331, allocations: 452.9 kB / 0.5278 GB, free: 9.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.3331, allocations: 59.97 kB / 0.5279 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3331, allocations: 2.844 kB / 0.5279 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.3332, allocations: 5.656 kB / 0.5279 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3334, allocations: 83.84 kB / 0.528 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3334, allocations: 8.594 kB / 0.528 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3335, allocations: 38.2 kB / 0.528 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.3336, allocations: 20.94 kB / 0.528 GB, free: 8.996 MB / 410.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.0001058/0.3337, allocations: 187.8 kB / 0.5282 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.3337, allocations: 45.64 kB / 0.5282 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.3342, allocations: 358.5 kB / 0.5286 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3342, allocations: 2.406 kB / 0.5286 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3343, allocations: 3.125 kB / 0.5286 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3343, allocations: 2.484 kB / 0.5286 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3354, allocations: 1.192 MB / 0.5298 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3354, allocations: 6.844 kB / 0.5298 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3356, allocations: 58.62 kB / 0.5298 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3356, allocations: 6.938 kB / 0.5298 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3356, allocations: 11.94 kB / 0.5298 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3356, allocations: 12.44 kB / 0.5298 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3356, allocations: 4 kB / 0.5298 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.336, allocations: 0.6557 MB / 0.5305 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.336, allocations: 45.88 kB / 0.5305 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.336, allocations: 10.28 kB / 0.5305 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3362, allocations: 20.12 kB / 0.5306 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.3363, allocations: 24.52 kB / 0.5306 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3363, allocations: 20.55 kB / 0.5306 GB, free: 7.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3365, allocations: 260 kB / 0.5309 GB, free: 7.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3365, allocations: 0 / 0.5309 GB, free: 7.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006692/0.3371, allocations: 282.2 kB / 0.5311 GB, free: 6.965 MB / 410.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.0007036/0.3378, allocations: 399 kB / 0.5315 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3382, allocations: 381.4 kB / 0.5319 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3382, allocations: 0 / 0.5319 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.3383, allocations: 106 kB / 0.532 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.339, allocations: 218.4 kB / 0.5322 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3401, allocations: 0.7339 MB / 0.5329 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.899e-05/0.3401, allocations: 127.9 kB / 0.533 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3404, allocations: 89.55 kB / 0.5331 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.3405, allocations: 45.5 kB / 0.5331 GB, free: 5.828 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3405, allocations: 0 / 0.5331 GB, free: 5.828 MB / 410.7 MB Notification: Performance of Templates: time 0.01327/0.3537, allocations: 11.49 MB / 0.5444 GB, free: 0.543 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8463754202239215]