Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 103.8 kB / 16.27 MB, free: 5.973 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.001661/0.001662, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1927/0.1927, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 74.52 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08466, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3551/0.4398, allocations: 186.3 MB / 0.6122 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4418, allocations: 0.8927 MB / 0.6131 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.4422, allocations: 12.66 kB / 0.6131 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.4428, allocations: 207.3 kB / 0.6133 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.4434, allocations: 278.6 kB / 0.6135 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.4489, allocations: 2.155 MB / 0.6156 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.4499, allocations: 0.9876 MB / 0.6166 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.4504, allocations: 327.2 kB / 0.6169 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.4541, allocations: 1.695 MB / 0.6186 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.4546, allocations: 323.2 kB / 0.6189 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.4547, allocations: 47.66 kB / 0.6189 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.4595, allocations: 2.852 MB / 0.6217 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.4597, allocations: 187.5 kB / 0.6219 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.46, allocations: 278.8 kB / 0.6222 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.4636, allocations: 2.093 MB / 0.6242 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4636, allocations: 7.938 kB / 0.6242 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4636, allocations: 0 / 0.6242 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4636, allocations: 4 kB / 0.6242 GB, free: 12.75 MB / 446.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.00214/0.4658, allocations: 1.06 MB / 0.6253 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4658, allocations: 15.89 kB / 0.6253 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.65e-05/0.4659, allocations: 70.53 kB / 0.6253 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.4662, allocations: 63.42 kB / 0.6254 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.4667, allocations: 373.9 kB / 0.6258 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.4667, allocations: 25 kB / 0.6258 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4668, allocations: 43.94 kB / 0.6258 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008627/0.4677, allocations: 0.5237 MB / 0.6263 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4677, allocations: 0 / 0.6263 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.4678, allocations: 16 kB / 0.6263 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4678, allocations: 8 kB / 0.6264 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.4686, allocations: 499.5 kB / 0.6268 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.4711, allocations: 1.974 MB / 0.6288 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.4718, allocations: 452.7 kB / 0.6292 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.4722, allocations: 186.5 kB / 0.6294 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007834/0.4729, allocations: 0.9454 MB / 0.6303 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.473, allocations: 42.5 kB / 0.6303 GB, free: 5.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/0.473, allocations: 7.922 kB / 0.6303 GB, free: 5.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001106/0.4741, allocations: 0.4954 MB / 0.6308 GB, free: 5.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4742, allocations: 106.8 kB / 0.6309 GB, free: 5.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.4746, allocations: 401.6 kB / 0.6313 GB, free: 4.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.4746, allocations: 33.7 kB / 0.6313 GB, free: 4.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.4748, allocations: 220.1 kB / 0.6315 GB, free: 4.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.4749, allocations: 94.56 kB / 0.6316 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.475, allocations: 81.97 kB / 0.6317 GB, free: 4.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4751, allocations: 354.7 kB / 0.6321 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.4755, allocations: 152.6 kB / 0.6322 GB, free: 3.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.4759, allocations: 262 kB / 0.6325 GB, free: 3.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.4766, allocations: 483.8 kB / 0.6329 GB, free: 3.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4766, allocations: 3.938 kB / 0.6329 GB, free: 3.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009712/0.4776, allocations: 0.5431 MB / 0.6334 GB, free: 2.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.4776, allocations: 63.78 kB / 0.6335 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4776, allocations: 8 kB / 0.6335 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4777, allocations: 4 kB / 0.6335 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.478, allocations: 87.81 kB / 0.6336 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4781, allocations: 4 kB / 0.6336 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.4784, allocations: 55.42 kB / 0.6337 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.4785, allocations: 21.62 kB / 0.6337 GB, free: 2.316 MB / 446.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.0002638/0.4787, allocations: 193.6 kB / 0.6339 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4789, allocations: 43.47 kB / 0.6339 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4799, allocations: 493 kB / 0.6344 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.4799, allocations: 4 kB / 0.6344 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4799, allocations: 4 kB / 0.6344 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4799, allocations: 0 / 0.6344 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.4828, allocations: 2.433 MB / 0.6368 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4828, allocations: 8.125 kB / 0.6368 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.4831, allocations: 63.91 kB / 0.6368 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.4831, allocations: 7.984 kB / 0.6368 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.4831, allocations: 11.94 kB / 0.6368 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4831, allocations: 4 kB / 0.6369 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4831, allocations: 4 kB / 0.6369 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.4839, allocations: 0.6316 MB / 0.6375 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.484, allocations: 120.6 kB / 0.6376 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.4841, allocations: 19.92 kB / 0.6376 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.4845, allocations: 20.27 kB / 0.6376 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4846, allocations: 27.91 kB / 0.6377 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.4846, allocations: 19.98 kB / 0.6377 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003857/0.485, allocations: 363.1 kB / 0.638 GB, free: 13.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.485, allocations: 0 / 0.638 GB, free: 13.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4861, allocations: 379.6 kB / 0.6384 GB, free: 13.08 MB / 462.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.00251/0.4887, allocations: 1.664 MB / 0.64 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.4896, allocations: 486.9 kB / 0.6405 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4896, allocations: 4.125 kB / 0.6405 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.4899, allocations: 167.7 kB / 0.6406 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.4915, allocations: 283.3 kB / 0.6409 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/0.4974, allocations: 4.639 MB / 0.6454 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4978, allocations: 0.8347 MB / 0.6462 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.4984, allocations: 121.8 kB / 0.6464 GB, free: 4.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4986, allocations: 147.4 kB / 0.6465 GB, free: 4.465 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4986, allocations: 0 / 0.6465 GB, free: 4.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.5383, allocations: 20.6 MB / 0.6666 GB, free: 15.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.899, allocations: 11.8 kB / 0.6666 GB, free: 15.84 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches