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.0009869/0.0009869, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.001228/0.001228, allocations: 160.5 kB / 24.56 MB, free: 24 kB / 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 0.9943/0.9943, allocations: 177 MB / 204.8 MB, free: 5.191 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.2736/0.2736, allocations: 34.86 MB / 296.3 MB, free: 432 kB / 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 3.085e-06/3.085e-06, allocations: 4 kB / 378.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.688e-05, allocations: 6.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3194/0.3194, allocations: 148.9 MB / 0.5152 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3212, allocations: 0.8792 MB / 0.5161 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3214, allocations: 12.88 kB / 0.5161 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.3219, allocations: 116.2 kB / 0.5162 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.3225, allocations: 302.1 kB / 0.5165 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.3257, allocations: 1.327 MB / 0.5178 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.3266, allocations: 0.9645 MB / 0.5187 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.327, allocations: 290.7 kB / 0.519 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009881/0.328, allocations: 0.713 MB / 0.5197 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.3284, allocations: 291.7 kB / 0.52 GB, free: 13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.3284, allocations: 49.56 kB / 0.52 GB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3314, allocations: 1.372 MB / 0.5214 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.3317, allocations: 209.3 kB / 0.5216 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.332, allocations: 205.5 kB / 0.5218 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.3344, allocations: 1.395 MB / 0.5231 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3345, allocations: 0 / 0.5231 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3345, allocations: 3.938 kB / 0.5231 GB, free: 11.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3345, allocations: 0 / 0.5231 GB, free: 11.97 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.001348/0.3358, allocations: 0.9992 MB / 0.5241 GB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3359, allocations: 8.438 kB / 0.5241 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3361, allocations: 99.59 kB / 0.5242 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3366, allocations: 334 kB / 0.5245 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3366, allocations: 30.41 kB / 0.5246 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3366, allocations: 40.75 kB / 0.5246 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.3371, allocations: 0.646 MB / 0.5252 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3371, allocations: 0 / 0.5252 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.3372, allocations: 17.41 kB / 0.5253 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3372, allocations: 12 kB / 0.5253 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.3376, allocations: 258.5 kB / 0.5255 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3389, allocations: 1.737 MB / 0.5272 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3393, allocations: 235.1 kB / 0.5274 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3394, allocations: 101.2 kB / 0.5275 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3396, allocations: 78.95 kB / 0.5276 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3397, allocations: 39.73 kB / 0.5276 GB, free: 8.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.3397, allocations: 0 / 0.5276 GB, free: 8.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004859/0.3401, allocations: 285.8 kB / 0.5279 GB, free: 8.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.3402, allocations: 109.7 kB / 0.528 GB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3403, allocations: 328.1 kB / 0.5283 GB, free: 8.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3404, allocations: 32.7 kB / 0.5284 GB, free: 8.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.3405, allocations: 281.1 kB / 0.5286 GB, free: 7.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3405, allocations: 116.2 kB / 0.5287 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.3406, allocations: 82.22 kB / 0.5288 GB, free: 7.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.3407, allocations: 0.5186 MB / 0.5293 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3408, allocations: 116.7 kB / 0.5294 GB, free: 7.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3409, allocations: 265.9 kB / 0.5297 GB, free: 7.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3412, allocations: 369.4 kB / 0.5301 GB, free: 6.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3412, allocations: 2.688 kB / 0.5301 GB, free: 6.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000429/0.3416, allocations: 452.3 kB / 0.5305 GB, free: 6.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.3417, allocations: 61.39 kB / 0.5305 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3417, allocations: 3.125 kB / 0.5305 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3417, allocations: 5.844 kB / 0.5306 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3419, allocations: 86.67 kB / 0.5306 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.3419, allocations: 3.094 kB / 0.5306 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.342, allocations: 44.72 kB / 0.5307 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3421, allocations: 20.59 kB / 0.5307 GB, free: 6.34 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.0001023/0.3422, allocations: 183.6 kB / 0.5309 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.3423, allocations: 46.56 kB / 0.5309 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.3427, allocations: 360.4 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3427, allocations: 4.969 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3427, allocations: 0 / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3427, allocations: 5.312 kB / 0.5313 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3439, allocations: 1.186 MB / 0.5324 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3439, allocations: 2.812 kB / 0.5324 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.344, allocations: 60.45 kB / 0.5325 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.344, allocations: 5.844 kB / 0.5325 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3441, allocations: 11.78 kB / 0.5325 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3441, allocations: 6.875 kB / 0.5325 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3441, allocations: 3.062 kB / 0.5325 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.3444, allocations: 0.6616 MB / 0.5332 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3444, allocations: 44.33 kB / 0.5332 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3445, allocations: 14.5 kB / 0.5332 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3447, allocations: 24.61 kB / 0.5332 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3447, allocations: 23.17 kB / 0.5333 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3447, allocations: 23.03 kB / 0.5333 GB, free: 4.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.3449, allocations: 260 kB / 0.5335 GB, free: 4.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.5335 GB, free: 4.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007074/0.3456, allocations: 277.3 kB / 0.5338 GB, free: 4.312 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.0007256/0.3463, allocations: 401.6 kB / 0.5342 GB, free: 4.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.3467, allocations: 375.1 kB / 0.5345 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3467, allocations: 0 / 0.5345 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3468, allocations: 112 kB / 0.5346 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.3475, allocations: 232.9 kB / 0.5349 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3485, allocations: 0.7291 MB / 0.5356 GB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.598e-05/0.3486, allocations: 129 kB / 0.5357 GB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.3488, allocations: 100.4 kB / 0.5358 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.3489, allocations: 39.53 kB / 0.5358 GB, free: 3.164 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3489, allocations: 0 / 0.5358 GB, free: 3.164 MB / 410.7 MB Notification: Performance of Templates: time 0.01325/0.3622, allocations: 11.46 MB / 0.547 GB, free: 12.5 MB / 426.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.8279708358459175]