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.001299/0.001299, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001272/0.001272, allocations: 188 kB / 19.34 MB, free: 3.641 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.307/1.307, allocations: 222.9 MB / 243 MB, free: 15.15 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.1997/0.1997, allocations: 44.17 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.48 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3694/0.4715, allocations: 181.3 MB / 0.6367 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4736, allocations: 0.8969 MB / 0.6376 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.474, allocations: 11.94 kB / 0.6376 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.4748, allocations: 214.6 kB / 0.6378 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.4757, allocations: 278.4 kB / 0.6381 GB, free: 9.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005712/0.4814, allocations: 1.896 MB / 0.6399 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.4827, allocations: 0.9788 MB / 0.6409 GB, free: 6.652 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006393/0.4834, allocations: 336.2 kB / 0.6412 GB, free: 6.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.487, allocations: 1.532 MB / 0.6427 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.4876, allocations: 314.8 kB / 0.643 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4877, allocations: 48 kB / 0.6431 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.4928, allocations: 2.742 MB / 0.6457 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.4931, allocations: 199.4 kB / 0.6459 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.4935, allocations: 266.9 kB / 0.6462 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.497, allocations: 2.019 MB / 0.6482 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.497, allocations: 3.938 kB / 0.6482 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.497, allocations: 0 / 0.6482 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.497, allocations: 0 / 0.6482 GB, free: 15.21 MB / 494.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.00176/0.4988, allocations: 1.036 MB / 0.6492 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4989, allocations: 15.97 kB / 0.6492 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.4991, allocations: 59.44 kB / 0.6492 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.4997, allocations: 378 kB / 0.6496 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.4998, allocations: 25 kB / 0.6496 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.4998, allocations: 39.94 kB / 0.6497 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.5007, allocations: 0.524 MB / 0.6502 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5008, allocations: 0 / 0.6502 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.5008, allocations: 20 kB / 0.6502 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.5008, allocations: 8 kB / 0.6502 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.5017, allocations: 0.4917 MB / 0.6507 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.5044, allocations: 1.968 MB / 0.6526 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.5051, allocations: 456.7 kB / 0.653 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.5055, allocations: 182.5 kB / 0.6532 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008377/0.5063, allocations: 0.9455 MB / 0.6541 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.5063, allocations: 42.5 kB / 0.6542 GB, free: 8.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.5064, allocations: 4 kB / 0.6542 GB, free: 8.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001096/0.5075, allocations: 0.4889 MB / 0.6547 GB, free: 8.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.5075, allocations: 106.8 kB / 0.6548 GB, free: 7.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.5079, allocations: 401.6 kB / 0.6551 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.508, allocations: 33.7 kB / 0.6552 GB, free: 7.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5081, allocations: 224 kB / 0.6554 GB, free: 7.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.5082, allocations: 106.5 kB / 0.6555 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.5084, allocations: 78 kB / 0.6556 GB, free: 7.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5085, allocations: 346.8 kB / 0.6559 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.5088, allocations: 152.7 kB / 0.656 GB, free: 6.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.5092, allocations: 254 kB / 0.6563 GB, free: 6.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.51, allocations: 494.8 kB / 0.6568 GB, free: 5.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.51, allocations: 4 kB / 0.6568 GB, free: 5.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009496/0.5109, allocations: 0.5433 MB / 0.6573 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.511, allocations: 63.41 kB / 0.6574 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.511, allocations: 7.938 kB / 0.6574 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.511, allocations: 4 kB / 0.6574 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.5114, allocations: 83.83 kB / 0.6574 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5115, allocations: 7.984 kB / 0.6574 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.5118, allocations: 51.44 kB / 0.6575 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.5118, allocations: 23.98 kB / 0.6575 GB, free: 4.883 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.0002107/0.5121, allocations: 193.7 kB / 0.6577 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5122, allocations: 39.53 kB / 0.6577 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5132, allocations: 488.3 kB / 0.6582 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5133, allocations: 4 kB / 0.6582 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5133, allocations: 0 / 0.6582 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5133, allocations: 0 / 0.6582 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.5163, allocations: 2.432 MB / 0.6606 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5163, allocations: 4 kB / 0.6606 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.5166, allocations: 63.95 kB / 0.6607 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5166, allocations: 12.11 kB / 0.6607 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5166, allocations: 16.05 kB / 0.6607 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5166, allocations: 8 kB / 0.6607 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5167, allocations: 0 / 0.6607 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.5175, allocations: 0.6315 MB / 0.6613 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5176, allocations: 132.4 kB / 0.6614 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.5177, allocations: 11.91 kB / 0.6614 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.5181, allocations: 23.97 kB / 0.6615 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.5182, allocations: 31.91 kB / 0.6615 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5182, allocations: 19.98 kB / 0.6615 GB, free: 388 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.5186, allocations: 359.1 kB / 0.6619 GB, free: 32 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5186, allocations: 0 / 0.6619 GB, free: 32 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001066/0.5197, allocations: 343.7 kB / 0.6622 GB, free: 15.7 MB / 0.4981 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.001282/0.521, allocations: 0.4966 MB / 0.6627 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008243/0.5218, allocations: 475 kB / 0.6631 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5219, allocations: 0 / 0.6631 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.5222, allocations: 163.9 kB / 0.6633 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5236, allocations: 279 kB / 0.6635 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5249, allocations: 0.7957 MB / 0.6643 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.5254, allocations: 0.839 MB / 0.6651 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003992/0.5258, allocations: 119.4 kB / 0.6653 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5259, allocations: 47.42 kB / 0.6653 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5259, allocations: 0 / 0.6653 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02531/0.5512, allocations: 14.87 MB / 0.6798 GB, free: 13.69 MB / 0.5137 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/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