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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001499/0.001499, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2475/0.2475, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.00203/0.00203, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2148/0.5546, allocations: 160.4 MB / 0.7172 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.557, allocations: 0.8775 MB / 0.7181 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.5574, allocations: 15.88 kB / 0.7181 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.5582, allocations: 198.7 kB / 0.7183 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.5592, allocations: 298.3 kB / 0.7186 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005699/0.5649, allocations: 1.958 MB / 0.7205 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.5663, allocations: 0.9867 MB / 0.7214 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.5669, allocations: 285.2 kB / 0.7217 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.5706, allocations: 1.585 MB / 0.7233 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.5712, allocations: 326.8 kB / 0.7236 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.5713, allocations: 44 kB / 0.7236 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.5759, allocations: 2.293 MB / 0.7259 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.5762, allocations: 203.5 kB / 0.7261 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.5766, allocations: 231.1 kB / 0.7263 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.5805, allocations: 1.971 MB / 0.7282 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5805, allocations: 0 / 0.7282 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5805, allocations: 0 / 0.7282 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.5805, allocations: 0 / 0.7282 GB, free: 7.973 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.002229/0.5827, allocations: 1.005 MB / 0.7292 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5828, allocations: 11.97 kB / 0.7292 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.5829, allocations: 74.47 kB / 0.7293 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.5832, allocations: 71.66 kB / 0.7293 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.5839, allocations: 323.8 kB / 0.7296 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.5839, allocations: 29 kB / 0.7297 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.584, allocations: 32 kB / 0.7297 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5852, allocations: 0.7708 MB / 0.7304 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5852, allocations: 0 / 0.7304 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.5852, allocations: 20 kB / 0.7305 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5853, allocations: 8 kB / 0.7305 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.5862, allocations: 492.2 kB / 0.7309 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.5894, allocations: 1.57 MB / 0.7325 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.5902, allocations: 359.6 kB / 0.7328 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.5905, allocations: 178.1 kB / 0.733 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.591, allocations: 127.9 kB / 0.7331 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.591, allocations: 38.56 kB / 0.7331 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.591, allocations: 3.938 kB / 0.7332 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001259/0.5923, allocations: 0.4894 MB / 0.7336 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.5924, allocations: 114.8 kB / 0.7337 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.5929, allocations: 405.5 kB / 0.7341 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.593, allocations: 29.7 kB / 0.7342 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.5932, allocations: 228.4 kB / 0.7344 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5933, allocations: 107.2 kB / 0.7345 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.5934, allocations: 74.06 kB / 0.7345 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5936, allocations: 354.7 kB / 0.7349 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.5941, allocations: 208 kB / 0.7351 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.5945, allocations: 316.3 kB / 0.7354 GB, free: 192 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2772/0.8717, allocations: 477.2 kB / 0.7358 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.8717, allocations: 5.062 kB / 0.7358 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001307/0.873, allocations: 0.6027 MB / 0.7364 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.8731, allocations: 64.5 kB / 0.7365 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8731, allocations: 3.344 kB / 0.7365 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.8731, allocations: 10.3 kB / 0.7365 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.8735, allocations: 83.41 kB / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.8735, allocations: 6.016 kB / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.8739, allocations: 53.16 kB / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.8739, allocations: 21.23 kB / 0.7367 GB, free: 174.6 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.000225/0.8742, allocations: 191 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.8743, allocations: 43.58 kB / 0.7369 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.8754, allocations: 489.1 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.8754, allocations: 4.188 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8754, allocations: 0.5312 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.8754, allocations: 7.109 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.8779, allocations: 1.256 MB / 0.7386 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8779, allocations: 1.781 kB / 0.7386 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.8781, allocations: 62.52 kB / 0.7387 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8781, allocations: 0 / 0.7387 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.8782, allocations: 10.11 kB / 0.7387 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.8782, allocations: 5.141 kB / 0.7387 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8782, allocations: 2.438 kB / 0.7387 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.8788, allocations: 0.6501 MB / 0.7393 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.8789, allocations: 46.17 kB / 0.7393 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.879, allocations: 18.98 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.8794, allocations: 16.56 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.8795, allocations: 34.83 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.8795, allocations: 19.92 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003587/0.8799, allocations: 364 kB / 0.7398 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8799, allocations: 0 / 0.7398 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009792/0.8808, allocations: 352.9 kB / 0.7401 GB, free: 172.9 MB / 0.5606 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.002015/0.8829, allocations: 1.589 MB / 0.7417 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.8837, allocations: 0.502 MB / 0.7422 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8837, allocations: 0 / 0.7422 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.884, allocations: 159.7 kB / 0.7423 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.8853, allocations: 284.7 kB / 0.7426 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.8905, allocations: 4.816 MB / 0.7473 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.8907, allocations: 238.8 kB / 0.7475 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004197/0.8911, allocations: 122.9 kB / 0.7476 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.8913, allocations: 147.4 kB / 0.7478 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.8913, allocations: 0 / 0.7478 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.9367, allocations: 21.51 MB / 0.7688 GB, free: 145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.47, allocations: 4 kB / 0.7688 GB, free: 144.9 MB / 0.5606 GB " [Timeout remaining time 647] (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: 15.67665697587654]