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.001107/0.001107, allocations: 84.34 kB / 22.21 MB, free: 2.281 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.001218/0.001218, allocations: 159.6 kB / 25.61 MB, free: 8.578 MB / 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.9335/0.9335, allocations: 177 MB / 205.9 MB, free: 4.445 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.1414/0.1414, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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 2.154e-06/2.154e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.973e-05, allocations: 2.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3078/0.3079, allocations: 146.1 MB / 0.5137 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3093, allocations: 0.8745 MB / 0.5146 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.3096, allocations: 14.44 kB / 0.5146 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.31, allocations: 116.5 kB / 0.5147 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.3105, allocations: 300.8 kB / 0.515 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.3134, allocations: 1.334 MB / 0.5163 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008896/0.3143, allocations: 0.9657 MB / 0.5172 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.3146, allocations: 292.9 kB / 0.5175 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.3155, allocations: 0.7055 MB / 0.5182 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3158, allocations: 295.3 kB / 0.5185 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.628e-05/0.3159, allocations: 49.94 kB / 0.5185 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.3173, allocations: 1.38 MB / 0.5199 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3175, allocations: 209.9 kB / 0.5201 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3177, allocations: 192.6 kB / 0.5203 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.3192, allocations: 1.403 MB / 0.5216 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3192, allocations: 0 / 0.5216 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3192, allocations: 0 / 0.5216 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3192, allocations: 0 / 0.5216 GB, free: 13.14 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.001028/0.3202, allocations: 1.002 MB / 0.5226 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3202, allocations: 8.312 kB / 0.5226 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.3204, allocations: 92.34 kB / 0.5227 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3207, allocations: 341.2 kB / 0.523 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3208, allocations: 24.59 kB / 0.5231 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.3208, allocations: 43.97 kB / 0.5231 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.3212, allocations: 0.6163 MB / 0.5237 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3212, allocations: 0 / 0.5237 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.3212, allocations: 15.12 kB / 0.5237 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3212, allocations: 8.406 kB / 0.5237 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.3215, allocations: 207.6 kB / 0.5239 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3226, allocations: 1.731 MB / 0.5256 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.3229, allocations: 210.4 kB / 0.5258 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.323, allocations: 82.75 kB / 0.5259 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.3232, allocations: 73.92 kB / 0.526 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3232, allocations: 47.27 kB / 0.526 GB, free: 10.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3232, allocations: 0 / 0.526 GB, free: 10.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003883/0.3236, allocations: 237.1 kB / 0.5262 GB, free: 10.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.3236, allocations: 112.7 kB / 0.5264 GB, free: 10.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3238, allocations: 332.8 kB / 0.5267 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3238, allocations: 34.58 kB / 0.5267 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.3239, allocations: 280 kB / 0.527 GB, free: 9.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.3239, allocations: 107.9 kB / 0.5271 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.324, allocations: 87.31 kB / 0.5272 GB, free: 9.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.3241, allocations: 0.5179 MB / 0.5277 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.3241, allocations: 100.1 kB / 0.5278 GB, free: 9.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3242, allocations: 249.1 kB / 0.528 GB, free: 8.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.3245, allocations: 334.1 kB / 0.5283 GB, free: 8.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3245, allocations: 3.406 kB / 0.5283 GB, free: 8.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003559/0.3248, allocations: 418.8 kB / 0.5287 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3248, allocations: 61 kB / 0.5288 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3248, allocations: 5.5 kB / 0.5288 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3249, allocations: 5.812 kB / 0.5288 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.325, allocations: 79.45 kB / 0.5289 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.325, allocations: 10.3 kB / 0.5289 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3252, allocations: 47.39 kB / 0.5289 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3252, allocations: 14.44 kB / 0.5289 GB, free: 8.395 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 9.469e-05/0.3253, allocations: 188.5 kB / 0.5291 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.3254, allocations: 40.59 kB / 0.5291 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3257, allocations: 332.8 kB / 0.5295 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3258, allocations: 9.469 kB / 0.5295 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3258, allocations: 1.094 kB / 0.5295 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3258, allocations: 1.969 kB / 0.5295 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.3267, allocations: 1.092 MB / 0.5305 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3267, allocations: 2.938 kB / 0.5305 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3268, allocations: 59.33 kB / 0.5306 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3268, allocations: 3.156 kB / 0.5306 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3268, allocations: 12.47 kB / 0.5306 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3268, allocations: 10.28 kB / 0.5306 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3268, allocations: 2.812 kB / 0.5306 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3271, allocations: 0.6393 MB / 0.5313 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.3272, allocations: 40.16 kB / 0.5313 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.3272, allocations: 12.44 kB / 0.5313 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3274, allocations: 19.92 kB / 0.5313 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3274, allocations: 24.14 kB / 0.5313 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3275, allocations: 19.05 kB / 0.5314 GB, free: 6.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.3276, allocations: 243.3 kB / 0.5316 GB, free: 6.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3276, allocations: 0 / 0.5316 GB, free: 6.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005652/0.3281, allocations: 282.3 kB / 0.5319 GB, free: 6.75 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.0005711/0.3287, allocations: 390.9 kB / 0.5322 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.329, allocations: 350.9 kB / 0.5326 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.329, allocations: 2.375 kB / 0.5326 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3291, allocations: 93 kB / 0.5327 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.3297, allocations: 230.8 kB / 0.5329 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.3306, allocations: 0.729 MB / 0.5336 GB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.735e-05/0.3307, allocations: 125.3 kB / 0.5337 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.3309, allocations: 72.59 kB / 0.5338 GB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3313, allocations: 296.8 kB / 0.5341 GB, free: 5.562 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3313, allocations: 4 kB / 0.5341 GB, free: 5.559 MB / 410.7 MB Notification: Performance of Templates: time 0.01383/0.3451, allocations: 13.35 MB / 0.5471 GB, free: 14.62 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.962111155036837]