Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001777/0.001777, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002184/0.002184, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1239, allocations: 66 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4926/0.6165, allocations: 185.3 MB / 0.7363 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.6187, allocations: 0.888 MB / 0.7372 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.6191, allocations: 11.88 kB / 0.7372 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.62, allocations: 218.6 kB / 0.7374 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008845/0.6208, allocations: 286.4 kB / 0.7377 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005679/0.6265, allocations: 1.935 MB / 0.7396 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.6279, allocations: 0.9827 MB / 0.7405 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.6284, allocations: 285.7 kB / 0.7408 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.6327, allocations: 1.589 MB / 0.7424 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.6333, allocations: 334.8 kB / 0.7427 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.6334, allocations: 44 kB / 0.7427 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.6389, allocations: 2.866 MB / 0.7455 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.6392, allocations: 199.3 kB / 0.7457 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.6396, allocations: 270.9 kB / 0.746 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.6438, allocations: 2.061 MB / 0.748 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6438, allocations: 0 / 0.748 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6438, allocations: 0 / 0.748 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.6438, allocations: 0 / 0.748 GB, free: 12.12 MB / 0.5606 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.002165/0.646, allocations: 1.08 MB / 0.749 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.646, allocations: 12.03 kB / 0.749 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.6461, allocations: 74.53 kB / 0.7491 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.6464, allocations: 63.66 kB / 0.7492 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.647, allocations: 386.1 kB / 0.7495 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6471, allocations: 32.94 kB / 0.7496 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.6471, allocations: 36 kB / 0.7496 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.6481, allocations: 0.5159 MB / 0.7501 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.6481, allocations: 4 kB / 0.7501 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.6482, allocations: 19.98 kB / 0.7501 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.6482, allocations: 11.94 kB / 0.7502 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.6491, allocations: 0.4883 MB / 0.7506 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.6521, allocations: 1.978 MB / 0.7526 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/0.6529, allocations: 436.7 kB / 0.753 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.6533, allocations: 170.4 kB / 0.7531 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.6543, allocations: 0.9494 MB / 0.7541 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.6544, allocations: 46.55 kB / 0.7541 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/0.6544, allocations: 0 / 0.7541 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001287/0.6557, allocations: 0.4892 MB / 0.7546 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.6557, allocations: 110.8 kB / 0.7547 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.6562, allocations: 397.6 kB / 0.7551 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.6563, allocations: 37.7 kB / 0.7551 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.6565, allocations: 220.5 kB / 0.7553 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6566, allocations: 103.1 kB / 0.7554 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.6567, allocations: 82.02 kB / 0.7555 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6569, allocations: 350.7 kB / 0.7558 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.6572, allocations: 152.6 kB / 0.756 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.6577, allocations: 262 kB / 0.7562 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.6585, allocations: 487.9 kB / 0.7567 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6585, allocations: 0 / 0.7567 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001111/0.6597, allocations: 0.5476 MB / 0.7572 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.6597, allocations: 71.33 kB / 0.7573 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6597, allocations: 0 / 0.7573 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6597, allocations: 8.625 kB / 0.7573 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.6602, allocations: 79.89 kB / 0.7574 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6602, allocations: 4 kB / 0.7574 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.6605, allocations: 59.98 kB / 0.7574 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.6606, allocations: 21.09 kB / 0.7575 GB, free: 1.676 MB / 0.5606 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.000249/0.6608, allocations: 189 kB / 0.7576 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.661, allocations: 39.77 kB / 0.7577 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.6621, allocations: 490.7 kB / 0.7581 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6621, allocations: 4 kB / 0.7581 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6621, allocations: 4 kB / 0.7582 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6621, allocations: 3.984 kB / 0.7582 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.6655, allocations: 2.435 MB / 0.7605 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6655, allocations: 4 kB / 0.7605 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6658, allocations: 63.89 kB / 0.7606 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.6658, allocations: 8.125 kB / 0.7606 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.6658, allocations: 15.94 kB / 0.7606 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.6658, allocations: 8.062 kB / 0.7606 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6658, allocations: 7.938 kB / 0.7606 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.6667, allocations: 0.6324 MB / 0.7613 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.6669, allocations: 136.6 kB / 0.7614 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.667, allocations: 8 kB / 0.7614 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.6674, allocations: 19.98 kB / 0.7614 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.6675, allocations: 35.84 kB / 0.7614 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.6675, allocations: 19.98 kB / 0.7615 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004486/0.668, allocations: 363.1 kB / 0.7618 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.668, allocations: 0 / 0.7618 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001154/0.6691, allocations: 355 kB / 0.7622 GB, free: 12.46 MB / 0.5762 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.002311/0.6715, allocations: 1.578 MB / 0.7637 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009008/0.6724, allocations: 455.3 kB / 0.7641 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6724, allocations: 4.062 kB / 0.7641 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.6727, allocations: 151.8 kB / 0.7643 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.6742, allocations: 284 kB / 0.7645 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/0.6808, allocations: 4.605 MB / 0.769 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.6813, allocations: 0.839 MB / 0.7699 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004465/0.6818, allocations: 115.8 kB / 0.77 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.682, allocations: 147.4 kB / 0.7701 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.682, allocations: 0 / 0.7701 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.7345, allocations: 19.8 MB / 0.7895 GB, free: 396 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.428/10.16, allocations: 18.69 kB / 0.7895 GB, free: 380 kB / 0.5919 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.281613701023161]