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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 44.91 MB / 349.6 MB, free: 1.711 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.39 kB / 491.8 MB, free: 30.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1225, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5142/0.6367, allocations: 181.9 MB / 0.7207 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.6387, allocations: 0.9033 MB / 0.7215 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.6389, allocations: 7.938 kB / 0.7215 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.6396, allocations: 214.6 kB / 0.7217 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.6401, allocations: 286.3 kB / 0.722 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.6453, allocations: 1.914 MB / 0.7239 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.6466, allocations: 0.9789 MB / 0.7248 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.647, allocations: 289 kB / 0.7251 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.6504, allocations: 1.55 MB / 0.7266 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.651, allocations: 330.8 kB / 0.727 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.651, allocations: 48 kB / 0.727 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005007/0.656, allocations: 2.812 MB / 0.7297 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.6563, allocations: 203.3 kB / 0.7299 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.6567, allocations: 270.8 kB / 0.7302 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.6607, allocations: 2.022 MB / 0.7322 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6607, allocations: 3.938 kB / 0.7322 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6607, allocations: 0 / 0.7322 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.6607, allocations: 0 / 0.7322 GB, free: 12.78 MB / 0.5294 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.002073/0.6628, allocations: 1.073 MB / 0.7332 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6628, allocations: 12.03 kB / 0.7332 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.6629, allocations: 74.53 kB / 0.7333 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.6632, allocations: 56.59 kB / 0.7334 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.6639, allocations: 394 kB / 0.7337 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.6639, allocations: 32.94 kB / 0.7338 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.664, allocations: 36 kB / 0.7338 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.665, allocations: 0.5198 MB / 0.7343 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.665, allocations: 4 kB / 0.7343 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.665, allocations: 16 kB / 0.7343 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.665, allocations: 8 kB / 0.7343 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.666, allocations: 499.3 kB / 0.7348 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.669, allocations: 1.974 MB / 0.7367 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.6698, allocations: 440.7 kB / 0.7372 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.6701, allocations: 170.5 kB / 0.7373 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009846/0.6711, allocations: 0.9415 MB / 0.7382 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.6712, allocations: 46.56 kB / 0.7383 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.6712, allocations: 0 / 0.7383 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001203/0.6724, allocations: 0.4977 MB / 0.7388 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.6724, allocations: 106.8 kB / 0.7389 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.6729, allocations: 401.6 kB / 0.7393 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.673, allocations: 33.7 kB / 0.7393 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.6732, allocations: 224.6 kB / 0.7395 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.6732, allocations: 107 kB / 0.7396 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.6734, allocations: 89.98 kB / 0.7397 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6736, allocations: 350.7 kB / 0.74 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.6739, allocations: 148.6 kB / 0.7402 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.6743, allocations: 262 kB / 0.7404 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.6751, allocations: 480.8 kB / 0.7409 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6751, allocations: 4 kB / 0.7409 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001026/0.6761, allocations: 0.5584 MB / 0.7414 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.6762, allocations: 59.41 kB / 0.7415 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6762, allocations: 0 / 0.7415 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.6762, allocations: 8 kB / 0.7415 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.6766, allocations: 91.81 kB / 0.7416 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.6766, allocations: 10.19 kB / 0.7416 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.677, allocations: 51.66 kB / 0.7416 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.677, allocations: 20 kB / 0.7417 GB, free: 2.328 MB / 0.5294 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.0002411/0.6773, allocations: 181.7 kB / 0.7418 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6774, allocations: 47.91 kB / 0.7419 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6785, allocations: 487 kB / 0.7423 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6785, allocations: 4 kB / 0.7423 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6785, allocations: 4 kB / 0.7423 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6785, allocations: 0 / 0.7423 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.6818, allocations: 2.439 MB / 0.7447 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6818, allocations: 7.938 kB / 0.7447 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.6821, allocations: 59.91 kB / 0.7448 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.6821, allocations: 7.938 kB / 0.7448 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.6822, allocations: 11.98 kB / 0.7448 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.6822, allocations: 4 kB / 0.7448 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6822, allocations: 4 kB / 0.7448 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.683, allocations: 0.632 MB / 0.7454 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.6832, allocations: 136.7 kB / 0.7456 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.6832, allocations: 8 kB / 0.7456 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.6837, allocations: 32.03 kB / 0.7456 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.6837, allocations: 19.97 kB / 0.7456 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.6838, allocations: 19.98 kB / 0.7456 GB, free: 13.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004336/0.6842, allocations: 363.1 kB / 0.746 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6842, allocations: 0 / 0.746 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001121/0.6853, allocations: 354.9 kB / 0.7463 GB, free: 13.13 MB / 0.545 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.002306/0.6876, allocations: 1.582 MB / 0.7479 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008794/0.6885, allocations: 462.6 kB / 0.7483 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6885, allocations: 0 / 0.7483 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.6888, allocations: 156.5 kB / 0.7485 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6902, allocations: 278.8 kB / 0.7487 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.6968, allocations: 4.589 MB / 0.7532 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.6974, allocations: 0.8312 MB / 0.754 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.6979, allocations: 118.8 kB / 0.7541 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6981, allocations: 147.4 kB / 0.7543 GB, free: 4.699 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.6981, allocations: 0 / 0.7543 GB, free: 4.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.7469, allocations: 19.64 MB / 0.7735 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/9.901, allocations: 7.938 kB / 0.7735 GB, free: 1.219 MB / 0.5606 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.08606805326417]