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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.53 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 172.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8.281 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 61.93 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4649/0.6117, allocations: 177.5 MB / 0.6346 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.614, allocations: 0.914 MB / 0.6355 GB, free: 188 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.6143, allocations: 11.88 kB / 0.6355 GB, free: 176 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.615, allocations: 183.1 kB / 0.6356 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.6156, allocations: 262.5 kB / 0.6359 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.6208, allocations: 1.654 MB / 0.6375 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.6224, allocations: 1.302 MB / 0.6388 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.6228, allocations: 266.3 kB / 0.639 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.6265, allocations: 1.422 MB / 0.6404 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.6271, allocations: 322.7 kB / 0.6407 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.6271, allocations: 20 kB / 0.6407 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.6321, allocations: 2.823 MB / 0.6435 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.6323, allocations: 163.5 kB / 0.6437 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.6327, allocations: 268.5 kB / 0.6439 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.6365, allocations: 2.038 MB / 0.6459 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6365, allocations: 0 / 0.6459 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6366, allocations: 0 / 0.6459 GB, free: 5.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.6366, allocations: 0 / 0.6459 GB, free: 5.453 MB / 478.1 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.001839/0.6384, allocations: 0.9429 MB / 0.6468 GB, free: 4.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6385, allocations: 11.97 kB / 0.6468 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.6387, allocations: 63.42 kB / 0.6469 GB, free: 4.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.6393, allocations: 369.9 kB / 0.6472 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.6393, allocations: 25 kB / 0.6473 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.6394, allocations: 43.94 kB / 0.6473 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.6403, allocations: 0.5281 MB / 0.6478 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6403, allocations: 4 kB / 0.6478 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.6404, allocations: 20 kB / 0.6479 GB, free: 3.324 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6404, allocations: 8 kB / 0.6479 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.6413, allocations: 0.4995 MB / 0.6483 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.6439, allocations: 1.982 MB / 0.6503 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.6447, allocations: 460.7 kB / 0.6507 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.645, allocations: 182.5 kB / 0.6509 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/0.6459, allocations: 0.9494 MB / 0.6518 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.646, allocations: 42.5 kB / 0.6519 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.795e-06/0.646, allocations: 0 / 0.6519 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001203/0.6472, allocations: 0.515 MB / 0.6524 GB, free: 14.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.6473, allocations: 106.8 kB / 0.6525 GB, free: 14.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.6478, allocations: 401.6 kB / 0.6529 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.6479, allocations: 33.7 kB / 0.6529 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.648, allocations: 220.1 kB / 0.6531 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.6481, allocations: 94.56 kB / 0.6532 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.6482, allocations: 37.7 kB / 0.6532 GB, free: 13.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6484, allocations: 354.8 kB / 0.6536 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.6487, allocations: 152.6 kB / 0.6537 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.6491, allocations: 270 kB / 0.654 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.6499, allocations: 0.4915 MB / 0.6544 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.65, allocations: 4 kB / 0.6544 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001072/0.651, allocations: 0.5664 MB / 0.655 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.6511, allocations: 59.78 kB / 0.6551 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6511, allocations: 8 kB / 0.6551 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6511, allocations: 8 kB / 0.6551 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.6516, allocations: 91.81 kB / 0.6552 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.6516, allocations: 4 kB / 0.6552 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.652, allocations: 59.45 kB / 0.6552 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.6521, allocations: 23.98 kB / 0.6552 GB, free: 11.15 MB / 494.1 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.000314/0.6524, allocations: 190.1 kB / 0.6554 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.6526, allocations: 47.52 kB / 0.6555 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.6537, allocations: 0.49 MB / 0.6559 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6537, allocations: 4 kB / 0.656 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6537, allocations: 0 / 0.656 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6538, allocations: 3.984 kB / 0.656 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.6574, allocations: 2.457 MB / 0.6584 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6574, allocations: 0 / 0.6584 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.6577, allocations: 68.09 kB / 0.6584 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.6577, allocations: 3.938 kB / 0.6584 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.6577, allocations: 12 kB / 0.6584 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6577, allocations: 0 / 0.6584 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6577, allocations: 4 kB / 0.6584 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.6586, allocations: 0.655 MB / 0.6591 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.6588, allocations: 144.4 kB / 0.6592 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.6588, allocations: 8 kB / 0.6592 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.6593, allocations: 27.97 kB / 0.6592 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.6594, allocations: 23.91 kB / 0.6593 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.6594, allocations: 27.98 kB / 0.6593 GB, free: 6.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004074/0.6598, allocations: 359.1 kB / 0.6596 GB, free: 6.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6598, allocations: 0 / 0.6596 GB, free: 6.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001123/0.661, allocations: 347.6 kB / 0.66 GB, free: 5.891 MB / 494.1 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.001203/0.6622, allocations: 495 kB / 0.6604 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008603/0.6631, allocations: 479 kB / 0.6609 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6631, allocations: 4 kB / 0.6609 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.6634, allocations: 175.8 kB / 0.6611 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.665, allocations: 270.5 kB / 0.6613 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.6664, allocations: 0.9604 MB / 0.6623 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.6668, allocations: 0.8393 MB / 0.6631 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.6673, allocations: 115 kB / 0.6632 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6674, allocations: 47.42 kB / 0.6632 GB, free: 2.465 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6674, allocations: 0 / 0.6632 GB, free: 2.465 MB / 494.1 MB Notification: Performance of Templates: time 0.02545/0.6929, allocations: 14.38 MB / 0.6773 GB, free: 4.211 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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) 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) Reference file matches