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.001933/0.001933, allocations: 89.22 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002314/0.002314, allocations: 159.1 kB / 23.95 MB, free: 4.152 MB / 14.72 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.507/1.507, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2156/0.2156, allocations: 34.27 MB / 294.8 MB, free: 14.53 MB / 286.1 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 1.533e-06/1.533e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.023e-05, allocations: 4.812 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3765/0.3765, allocations: 160.3 MB / 0.5888 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3785, allocations: 0.8745 MB / 0.5897 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.3788, allocations: 11.88 kB / 0.5897 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.3795, allocations: 210.5 kB / 0.5899 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.3801, allocations: 310 kB / 0.5902 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005606/0.3857, allocations: 1.993 MB / 0.5922 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.3871, allocations: 0.9864 MB / 0.5931 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.3876, allocations: 273.3 kB / 0.5934 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.3914, allocations: 1.725 MB / 0.5951 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.3919, allocations: 295.2 kB / 0.5953 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.392, allocations: 51.98 kB / 0.5954 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.3965, allocations: 2.3 MB / 0.5976 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.3968, allocations: 211.4 kB / 0.5978 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.3971, allocations: 203.6 kB / 0.598 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.4009, allocations: 2.213 MB / 0.6002 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4009, allocations: 7.984 kB / 0.6002 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4009, allocations: 0 / 0.6002 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4009, allocations: 0 / 0.6002 GB, free: 9.594 MB / 0.4981 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.002052/0.403, allocations: 0.9973 MB / 0.6012 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.403, allocations: 12.03 kB / 0.6012 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.4033, allocations: 60.73 kB / 0.6012 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.404, allocations: 320.4 kB / 0.6016 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.404, allocations: 29 kB / 0.6016 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.4041, allocations: 39.94 kB / 0.6016 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4052, allocations: 0.763 MB / 0.6024 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4052, allocations: 7.938 kB / 0.6024 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.4053, allocations: 19.94 kB / 0.6024 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4053, allocations: 8 kB / 0.6024 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/0.4062, allocations: 495.3 kB / 0.6029 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.4088, allocations: 1.469 MB / 0.6043 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.4096, allocations: 374.4 kB / 0.6047 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.41, allocations: 174.5 kB / 0.6048 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.4105, allocations: 131.8 kB / 0.605 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.4105, allocations: 38.56 kB / 0.605 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.4105, allocations: 0 / 0.605 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001243/0.4118, allocations: 0.4893 MB / 0.6055 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.4118, allocations: 106.8 kB / 0.6056 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.4122, allocations: 296.5 kB / 0.6059 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.4123, allocations: 33.7 kB / 0.6059 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4124, allocations: 224.3 kB / 0.6061 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4125, allocations: 111.1 kB / 0.6062 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.4127, allocations: 78.02 kB / 0.6063 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4128, allocations: 342.8 kB / 0.6066 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.4132, allocations: 208 kB / 0.6068 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.4137, allocations: 309.7 kB / 0.6071 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.4145, allocations: 488 kB / 0.6076 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4145, allocations: 7.938 kB / 0.6076 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001121/0.4156, allocations: 0.591 MB / 0.6082 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.4157, allocations: 63.39 kB / 0.6082 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4157, allocations: 7.938 kB / 0.6082 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4157, allocations: 4 kB / 0.6082 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.4161, allocations: 83.89 kB / 0.6083 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4162, allocations: 7.938 kB / 0.6083 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.4165, allocations: 43.72 kB / 0.6084 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.4165, allocations: 20 kB / 0.6084 GB, free: 0.7461 MB / 0.4981 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.0002437/0.4168, allocations: 189.4 kB / 0.6086 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4169, allocations: 35.88 kB / 0.6086 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.418, allocations: 488.8 kB / 0.6091 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.418, allocations: 4 kB / 0.6091 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.418, allocations: 0 / 0.6091 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.418, allocations: 4 kB / 0.6091 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.4206, allocations: 1.206 MB / 0.6102 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4206, allocations: 4 kB / 0.6102 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.4209, allocations: 63.91 kB / 0.6103 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.4209, allocations: 8.188 kB / 0.6103 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.421, allocations: 11.98 kB / 0.6103 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.421, allocations: 4 kB / 0.6103 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.421, allocations: 3.938 kB / 0.6103 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.4219, allocations: 0.6202 MB / 0.6109 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.422, allocations: 39.69 kB / 0.611 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.4221, allocations: 15.94 kB / 0.611 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4225, allocations: 23.98 kB / 0.611 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.4226, allocations: 35.83 kB / 0.611 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.4226, allocations: 15.98 kB / 0.6111 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003386/0.423, allocations: 279 kB / 0.6113 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.423, allocations: 0 / 0.6113 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001146/0.4241, allocations: 366.9 kB / 0.6117 GB, free: 13.27 MB / 0.5137 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.001292/0.4254, allocations: 0.517 MB / 0.6122 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4264, allocations: 0.5078 MB / 0.6127 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4264, allocations: 4 kB / 0.6127 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4268, allocations: 152.9 kB / 0.6128 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.428, allocations: 217.3 kB / 0.613 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4294, allocations: 0.7489 MB / 0.6138 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4296, allocations: 240 kB / 0.614 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.43, allocations: 100.8 kB / 0.6141 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4301, allocations: 44.48 kB / 0.6141 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.4301, allocations: 0 / 0.6141 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.02486/0.455, allocations: 13.41 MB / 0.6272 GB, free: 13.41 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.8333020731806755]