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.001361/0.001361, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001599/0.001599, allocations: 214 kB / 23.74 MB, free: 4.66 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2344/0.2344, allocations: 46.92 MB / 360.8 MB, free: 4.285 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.002554/0.002554, allocations: 79.86 kB / 0.4962 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3136, allocations: 66.09 MB / 0.5607 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5186/0.8323, allocations: 185.5 MB / 0.7419 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.8339, allocations: 0.8989 MB / 0.7428 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.8341, allocations: 14.81 kB / 0.7428 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.8347, allocations: 215.1 kB / 0.743 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.8352, allocations: 295.5 kB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.8394, allocations: 1.962 MB / 0.7452 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.8403, allocations: 0.9983 MB / 0.7462 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.8406, allocations: 276.7 kB / 0.7465 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.8434, allocations: 1.6 MB / 0.748 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.8438, allocations: 343 kB / 0.7484 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.8439, allocations: 47.59 kB / 0.7484 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.8478, allocations: 2.897 MB / 0.7512 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.848, allocations: 200.2 kB / 0.7514 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.8483, allocations: 269.4 kB / 0.7517 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.851, allocations: 2.066 MB / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.851, allocations: 0.7188 kB / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.851, allocations: 0 / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.851, allocations: 7.906 kB / 0.7537 GB, free: 1.539 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.001743/0.8528, allocations: 1.001 MB / 0.7547 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.8528, allocations: 11.53 kB / 0.7547 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.8529, allocations: 77.7 kB / 0.7548 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.8531, allocations: 64.16 kB / 0.7548 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.8537, allocations: 320 kB / 0.7551 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.8537, allocations: 32.94 kB / 0.7552 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.8537, allocations: 35.56 kB / 0.7552 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.8545, allocations: 0.5149 MB / 0.7557 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8545, allocations: 0 / 0.7557 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.8546, allocations: 20.47 kB / 0.7557 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8546, allocations: 11.19 kB / 0.7557 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.8553, allocations: 0.4944 MB / 0.7562 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.8578, allocations: 1.933 MB / 0.7581 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.8585, allocations: 363.9 kB / 0.7584 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.8587, allocations: 170.5 kB / 0.7586 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/0.8591, allocations: 131.7 kB / 0.7587 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.8592, allocations: 44.2 kB / 0.7588 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.8592, allocations: 0 / 0.7588 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009717/0.8601, allocations: 0.494 MB / 0.7593 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.8602, allocations: 109.6 kB / 0.7594 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.8606, allocations: 399.7 kB / 0.7597 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.8606, allocations: 35.23 kB / 0.7598 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.8608, allocations: 217.2 kB / 0.76 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.8608, allocations: 112.5 kB / 0.7601 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.8609, allocations: 71.98 kB / 0.7602 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8611, allocations: 357.8 kB / 0.7605 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.8614, allocations: 148.7 kB / 0.7606 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.8617, allocations: 256.8 kB / 0.7609 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.8623, allocations: 490.3 kB / 0.7614 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8623, allocations: 7.375 kB / 0.7614 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008311/0.8631, allocations: 0.5453 MB / 0.7619 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.8632, allocations: 65.12 kB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8632, allocations: 5.625 kB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8632, allocations: 3.812 kB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.8635, allocations: 82.08 kB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8635, allocations: 9.234 kB / 0.7621 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.8638, allocations: 58.45 kB / 0.7621 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.8639, allocations: 31.45 kB / 0.7621 GB, free: 13.89 MB / 0.5762 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.0001976/0.8641, allocations: 181.7 kB / 0.7623 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.8642, allocations: 40.2 kB / 0.7624 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008487/0.8651, allocations: 493 kB / 0.7628 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8651, allocations: 5.5 kB / 0.7628 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8651, allocations: 1.203 kB / 0.7628 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8651, allocations: 7.688 kB / 0.7628 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.8673, allocations: 1.361 MB / 0.7642 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8673, allocations: 6.562 kB / 0.7642 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.8675, allocations: 64.61 kB / 0.7642 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8675, allocations: 3.75 kB / 0.7642 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.8676, allocations: 8.438 kB / 0.7642 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.8676, allocations: 6.094 kB / 0.7643 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8676, allocations: 0.7812 kB / 0.7643 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.8683, allocations: 0.6423 MB / 0.7649 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.8684, allocations: 53.64 kB / 0.7649 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.8685, allocations: 17 kB / 0.7649 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.8689, allocations: 26.3 kB / 0.765 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.8689, allocations: 28.02 kB / 0.765 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.869, allocations: 22.45 kB / 0.765 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003272/0.8693, allocations: 362.8 kB / 0.7654 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8693, allocations: 0 / 0.7654 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009975/0.8703, allocations: 357.9 kB / 0.7657 GB, free: 12.57 MB / 0.5762 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.001927/0.8722, allocations: 1.575 MB / 0.7672 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.8729, allocations: 457.9 kB / 0.7677 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8729, allocations: 4.125 kB / 0.7677 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.8732, allocations: 156.9 kB / 0.7678 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.8745, allocations: 289.6 kB / 0.7681 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.88, allocations: 4.596 MB / 0.7726 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.8805, allocations: 0.8366 MB / 0.7734 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004204/0.8809, allocations: 120.1 kB / 0.7735 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.8811, allocations: 148.4 kB / 0.7737 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.8811, allocations: 0 / 0.7737 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.9297, allocations: 20.12 MB / 0.7933 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.28, allocations: 11.86 kB / 0.7933 GB, free: 2.602 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.35188520909287]