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.0009896/0.0009896, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004008/0.004008, allocations: 161.8 kB / 24.7 MB, free: 9.414 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.9264/0.9264, allocations: 177.1 MB / 205 MB, free: 5.711 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.2745/0.2745, allocations: 32.78 MB / 294.2 MB, free: 1.223 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.693e-06/1.693e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.594e-05, allocations: 13.25 kB / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3451/0.3451, allocations: 160.3 MB / 0.5871 GB, free: 3.953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3468, allocations: 0.8869 MB / 0.5879 GB, free: 3.066 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.347, allocations: 11.88 kB / 0.5879 GB, free: 3.055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.3477, allocations: 210.5 kB / 0.5881 GB, free: 2.848 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.3482, allocations: 302 kB / 0.5884 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.3526, allocations: 1.999 MB / 0.5904 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007834/0.3534, allocations: 0.9881 MB / 0.5914 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.3538, allocations: 269.3 kB / 0.5916 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.3561, allocations: 1.725 MB / 0.5933 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3564, allocations: 299.2 kB / 0.5936 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.3565, allocations: 48 kB / 0.5936 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.3591, allocations: 2.312 MB / 0.5959 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3592, allocations: 203.5 kB / 0.5961 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3594, allocations: 195.6 kB / 0.5963 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.3614, allocations: 2.217 MB / 0.5984 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3614, allocations: 0 / 0.5984 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3614, allocations: 0 / 0.5984 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.3614, allocations: 0 / 0.5984 GB, free: 8.301 MB / 0.4948 GB 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.001288/0.3627, allocations: 1.005 MB / 0.5994 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3628, allocations: 12.03 kB / 0.5994 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.363, allocations: 63.64 kB / 0.5995 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3635, allocations: 312.5 kB / 0.5998 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3635, allocations: 25 kB / 0.5998 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3636, allocations: 40 kB / 0.5998 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.3644, allocations: 0.7674 MB / 0.6006 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3644, allocations: 4 kB / 0.6006 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.3644, allocations: 27.39 kB / 0.6006 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3644, allocations: 8 kB / 0.6006 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.365, allocations: 499.3 kB / 0.6011 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3664, allocations: 1.468 MB / 0.6025 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.3669, allocations: 375.3 kB / 0.6029 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3671, allocations: 162.5 kB / 0.6031 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.3674, allocations: 129.2 kB / 0.6032 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3674, allocations: 50.5 kB / 0.6032 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.3674, allocations: 0 / 0.6032 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0006882/0.3681, allocations: 489.2 kB / 0.6037 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3681, allocations: 110.8 kB / 0.6038 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3684, allocations: 300.5 kB / 0.6041 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3684, allocations: 33.7 kB / 0.6041 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3685, allocations: 232.2 kB / 0.6043 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.3686, allocations: 111.1 kB / 0.6044 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.3686, allocations: 78.02 kB / 0.6045 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3688, allocations: 346.8 kB / 0.6048 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.369, allocations: 204.1 kB / 0.605 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3692, allocations: 305.7 kB / 0.6053 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.3697, allocations: 494.1 kB / 0.6058 GB, free: 316 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3697, allocations: 4 kB / 0.6058 GB, free: 312 kB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006383/0.3703, allocations: 0.5935 MB / 0.6064 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.3704, allocations: 59.41 kB / 0.6064 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3704, allocations: 4 kB / 0.6064 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3704, allocations: 4 kB / 0.6065 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3706, allocations: 87.88 kB / 0.6065 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3706, allocations: 7.938 kB / 0.6065 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3708, allocations: 44.06 kB / 0.6066 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.3708, allocations: 24 kB / 0.6066 GB, free: 15.44 MB / 0.5105 GB 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.0001531/0.371, allocations: 178.8 kB / 0.6068 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.371, allocations: 39.75 kB / 0.6068 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.3717, allocations: 487.3 kB / 0.6073 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3717, allocations: 8 kB / 0.6073 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3717, allocations: 1.219 kB / 0.6073 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3717, allocations: 0 / 0.6073 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.373, allocations: 1.202 MB / 0.6085 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.373, allocations: 10.69 kB / 0.6085 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3732, allocations: 63.91 kB / 0.6085 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3732, allocations: 0 / 0.6085 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3732, allocations: 12 kB / 0.6085 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3732, allocations: 4 kB / 0.6086 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3732, allocations: 0 / 0.6086 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.3737, allocations: 0.6323 MB / 0.6092 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3737, allocations: 39.7 kB / 0.6092 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3738, allocations: 19.92 kB / 0.6092 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.3739, allocations: 19.98 kB / 0.6092 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.374, allocations: 37.52 kB / 0.6093 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.374, allocations: 19.98 kB / 0.6093 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001882/0.3742, allocations: 279 kB / 0.6096 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3742, allocations: 0 / 0.6096 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006911/0.3749, allocations: 358.9 kB / 0.6099 GB, free: 11.97 MB / 0.5105 GB 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.0008256/0.3757, allocations: 0.5255 MB / 0.6104 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.3763, allocations: 0.4978 MB / 0.6109 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3763, allocations: 3.938 kB / 0.6109 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3764, allocations: 160.8 kB / 0.6111 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.3771, allocations: 206.6 kB / 0.6113 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.378, allocations: 0.7985 MB / 0.612 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3781, allocations: 240 kB / 0.6123 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3782, allocations: 44.5 kB / 0.6123 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.3782, allocations: 0 / 0.6123 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of Templates: time 0.00941/0.3876, allocations: 10.75 MB / 0.6228 GB, free: 14.74 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.01904128678143]