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.001331/0.001331, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001432/0.001432, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2289/0.2289, allocations: 46.91 MB / 357.4 MB, free: 10.49 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.002278/0.002278, allocations: 77.19 kB / 0.4913 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1174, allocations: 65.98 MB / 0.5557 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5096/0.6271, allocations: 185.3 MB / 0.7366 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.6291, allocations: 0.8892 MB / 0.7375 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.6293, allocations: 11.94 kB / 0.7375 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.63, allocations: 210.7 kB / 0.7377 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.6305, allocations: 290.3 kB / 0.738 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.6355, allocations: 1.934 MB / 0.7399 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.6368, allocations: 0.9788 MB / 0.7408 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.6372, allocations: 301.5 kB / 0.7411 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.6405, allocations: 1.569 MB / 0.7427 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.6411, allocations: 346.7 kB / 0.743 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.6412, allocations: 52 kB / 0.743 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.6468, allocations: 2.855 MB / 0.7458 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.6471, allocations: 211.4 kB / 0.746 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.6474, allocations: 262.9 kB / 0.7463 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.6516, allocations: 2.057 MB / 0.7483 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6516, allocations: 0 / 0.7483 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.248e-06/0.6516, allocations: 3.984 kB / 0.7483 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6516, allocations: 0 / 0.7483 GB, free: 8.762 MB / 0.545 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.002003/0.6536, allocations: 1.077 MB / 0.7493 GB, free: 7.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6537, allocations: 12.03 kB / 0.7493 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.776e-05/0.6538, allocations: 74.53 kB / 0.7494 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.654, allocations: 63.66 kB / 0.7495 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.6547, allocations: 386.1 kB / 0.7498 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.6547, allocations: 29.62 kB / 0.7499 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.6548, allocations: 36 kB / 0.7499 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/0.6557, allocations: 0.5197 MB / 0.7504 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6557, allocations: 4 kB / 0.7504 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.6558, allocations: 16 kB / 0.7504 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.6558, allocations: 8 kB / 0.7504 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.6567, allocations: 499.6 kB / 0.7509 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.6597, allocations: 1.982 MB / 0.7529 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.6604, allocations: 440.7 kB / 0.7533 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.6607, allocations: 166.5 kB / 0.7534 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/0.6616, allocations: 0.9494 MB / 0.7544 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.6617, allocations: 42.55 kB / 0.7544 GB, free: 1.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.6617, allocations: 3.938 kB / 0.7544 GB, free: 1.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001122/0.6628, allocations: 0.4916 MB / 0.7549 GB, free: 1.445 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.6629, allocations: 110.8 kB / 0.755 GB, free: 1.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.6633, allocations: 397.6 kB / 0.7554 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.6633, allocations: 33.7 kB / 0.7554 GB, free: 0.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.6635, allocations: 220.5 kB / 0.7556 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.6636, allocations: 107.1 kB / 0.7557 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.6638, allocations: 82.02 kB / 0.7558 GB, free: 476 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6639, allocations: 350.8 kB / 0.7561 GB, free: 116 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.6643, allocations: 148.7 kB / 0.7563 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.6647, allocations: 270.6 kB / 0.7565 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.6654, allocations: 481.7 kB / 0.757 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6654, allocations: 0 / 0.757 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001016/0.6664, allocations: 0.555 MB / 0.7575 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.6665, allocations: 63.39 kB / 0.7576 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6665, allocations: 0 / 0.7576 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6665, allocations: 8.938 kB / 0.7576 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.6669, allocations: 92.2 kB / 0.7577 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.667, allocations: 4 kB / 0.7577 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.6673, allocations: 51.61 kB / 0.7577 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.6673, allocations: 25.55 kB / 0.7578 GB, free: 14.31 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.0002369/0.6676, allocations: 181.7 kB / 0.7579 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6677, allocations: 43.75 kB / 0.758 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.6687, allocations: 489 kB / 0.7584 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6687, allocations: 4 kB / 0.7585 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6688, allocations: 4.234 kB / 0.7585 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6688, allocations: 3.984 kB / 0.7585 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.6719, allocations: 2.441 MB / 0.7608 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6719, allocations: 4.188 kB / 0.7608 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.6722, allocations: 59.91 kB / 0.7609 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6722, allocations: 4 kB / 0.7609 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6722, allocations: 11.94 kB / 0.7609 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6722, allocations: 4 kB / 0.7609 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6722, allocations: 4 kB / 0.7609 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.6731, allocations: 0.6402 MB / 0.7616 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6732, allocations: 132.7 kB / 0.7617 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.6733, allocations: 11.94 kB / 0.7617 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.6737, allocations: 23.98 kB / 0.7617 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.6738, allocations: 23.97 kB / 0.7617 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.6738, allocations: 15.98 kB / 0.7617 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004244/0.6742, allocations: 367.1 kB / 0.7621 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6742, allocations: 3.938 kB / 0.7621 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001097/0.6753, allocations: 351 kB / 0.7624 GB, free: 9.113 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.002197/0.6775, allocations: 1.594 MB / 0.764 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008343/0.6783, allocations: 462.6 kB / 0.7644 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6783, allocations: 0 / 0.7644 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.6787, allocations: 156.9 kB / 0.7646 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6801, allocations: 282 kB / 0.7649 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.6866, allocations: 4.601 MB / 0.7693 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.6871, allocations: 0.839 MB / 0.7702 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004898/0.6876, allocations: 112 kB / 0.7703 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.6878, allocations: 151.3 kB / 0.7704 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.6878, allocations: 0 / 0.7704 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/0.7366, allocations: 19.8 MB / 0.7898 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.932, allocations: 11.42 kB / 0.7898 GB, free: 13.03 MB / 0.5919 GB " [Timeout remaining time 650] (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_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_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: 12.981354643125087]