Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.95 MB / 360.8 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 75.88 kB / 0.4961 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3142, allocations: 66.09 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2127/0.527, allocations: 160.4 MB / 0.7173 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.529, allocations: 0.8852 MB / 0.7182 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.5293, allocations: 15.88 kB / 0.7182 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.53, allocations: 198.7 kB / 0.7184 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007673/0.5308, allocations: 298.3 kB / 0.7187 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/0.5365, allocations: 1.964 MB / 0.7206 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.538, allocations: 0.9828 MB / 0.7215 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.5387, allocations: 281.2 kB / 0.7218 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.5428, allocations: 1.589 MB / 0.7234 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.5434, allocations: 326.7 kB / 0.7237 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.5435, allocations: 48 kB / 0.7237 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.5482, allocations: 2.285 MB / 0.726 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.5485, allocations: 207.4 kB / 0.7262 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.5489, allocations: 227.2 kB / 0.7264 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.5527, allocations: 1.979 MB / 0.7283 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5527, allocations: 4 kB / 0.7283 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5527, allocations: 0 / 0.7283 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.5527, allocations: 0 / 0.7283 GB, free: 7.789 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.002168/0.5549, allocations: 0.9974 MB / 0.7293 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5549, allocations: 8.031 kB / 0.7293 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.555, allocations: 74.53 kB / 0.7294 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.5553, allocations: 63.66 kB / 0.7294 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.556, allocations: 323.8 kB / 0.7297 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.5561, allocations: 21 kB / 0.7297 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.5561, allocations: 43.94 kB / 0.7298 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5572, allocations: 0.7708 MB / 0.7305 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5573, allocations: 4 kB / 0.7305 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.5573, allocations: 16 kB / 0.7306 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5573, allocations: 8 kB / 0.7306 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.5583, allocations: 490.3 kB / 0.731 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.5612, allocations: 1.578 MB / 0.7326 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008005/0.562, allocations: 363.6 kB / 0.7329 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.5623, allocations: 170.5 kB / 0.7331 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.5629, allocations: 131.8 kB / 0.7332 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.5629, allocations: 42.56 kB / 0.7333 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 4.147e-06/0.5629, allocations: 0 / 0.7333 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001318/0.5642, allocations: 0.4962 MB / 0.7337 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.5643, allocations: 110.8 kB / 0.7338 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.5649, allocations: 405.5 kB / 0.7342 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.5649, allocations: 33.7 kB / 0.7343 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5651, allocations: 224.6 kB / 0.7345 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.5653, allocations: 103.1 kB / 0.7346 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.5654, allocations: 78.06 kB / 0.7346 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5656, allocations: 346.8 kB / 0.735 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.566, allocations: 208 kB / 0.7352 GB, free: 388 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.5665, allocations: 313.6 kB / 0.7355 GB, free: 16 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2344/0.8009, allocations: 476.1 kB / 0.7359 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8009, allocations: 2.281 kB / 0.7359 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001158/0.8021, allocations: 0.6112 MB / 0.7365 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.8021, allocations: 60.91 kB / 0.7366 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8021, allocations: 3.781 kB / 0.7366 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.8021, allocations: 6.312 kB / 0.7366 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.8026, allocations: 88.23 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.8026, allocations: 7.484 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.8029, allocations: 53.66 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.803, allocations: 21.03 kB / 0.7368 GB, free: 174.4 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.000228/0.8032, allocations: 185.1 kB / 0.7369 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.8033, allocations: 43.89 kB / 0.737 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.8044, allocations: 490.2 kB / 0.7374 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.8044, allocations: 6.203 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8044, allocations: 4.062 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8044, allocations: 7.141 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.8067, allocations: 1.257 MB / 0.7387 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8067, allocations: 5.391 kB / 0.7387 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.807, allocations: 61.12 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.807, allocations: 6.062 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.807, allocations: 11.44 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.807, allocations: 4.672 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.807, allocations: 0 / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.8077, allocations: 0.6447 MB / 0.7394 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.8078, allocations: 48.38 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.8078, allocations: 14.3 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.8083, allocations: 23.16 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.8083, allocations: 22.58 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.8084, allocations: 31.7 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000332/0.8087, allocations: 366.5 kB / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8087, allocations: 3.906 kB / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009408/0.8096, allocations: 353.4 kB / 0.7402 GB, free: 172.6 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.001692/0.8113, allocations: 1.562 MB / 0.7418 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007255/0.8121, allocations: 0.5059 MB / 0.7422 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8121, allocations: 4 kB / 0.7423 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.8123, allocations: 155.2 kB / 0.7424 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.8136, allocations: 288.7 kB / 0.7427 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.8182, allocations: 4.817 MB / 0.7474 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.8184, allocations: 236 kB / 0.7476 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00039/0.8188, allocations: 122.7 kB / 0.7477 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.819, allocations: 147.4 kB / 0.7479 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.819, allocations: 4 kB / 0.7479 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.8622, allocations: 21.5 MB / 0.7689 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.27, allocations: 7.125 kB / 0.7689 GB, free: 144.6 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.217180230189115]