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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003326/0.003326, allocations: 79.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3405, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2178/0.5584, allocations: 184.7 MB / 0.711 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.5603, allocations: 0.8879 MB / 0.7118 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.5606, allocations: 11.94 kB / 0.7118 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.5614, allocations: 214.6 kB / 0.7121 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.562, allocations: 282.4 kB / 0.7123 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005051/0.5671, allocations: 1.921 MB / 0.7142 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5684, allocations: 0.975 MB / 0.7152 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.5689, allocations: 333.1 kB / 0.7155 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.5723, allocations: 1.558 MB / 0.717 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.5729, allocations: 318.9 kB / 0.7173 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.573, allocations: 48 kB / 0.7173 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2939/0.8669, allocations: 2.787 MB / 0.7201 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.8673, allocations: 196.3 kB / 0.7202 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.8678, allocations: 264.9 kB / 0.7205 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.8716, allocations: 2.057 MB / 0.7225 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8716, allocations: 0.875 kB / 0.7225 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8716, allocations: 0 / 0.7225 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8717, allocations: 0.9375 kB / 0.7225 GB, free: 5.031 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.001788/0.8735, allocations: 1.082 MB / 0.7236 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8735, allocations: 10.5 kB / 0.7236 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.511e-05/0.8736, allocations: 76.64 kB / 0.7237 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.8739, allocations: 60.02 kB / 0.7237 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.8744, allocations: 385.1 kB / 0.7241 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.8745, allocations: 28.12 kB / 0.7241 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.8745, allocations: 37.88 kB / 0.7241 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.8755, allocations: 0.5148 MB / 0.7246 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.8755, allocations: 4.688 kB / 0.7246 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.8756, allocations: 19.16 kB / 0.7247 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8756, allocations: 8.719 kB / 0.7247 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.8765, allocations: 499.4 kB / 0.7251 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.879, allocations: 1.976 MB / 0.7271 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.8797, allocations: 456.8 kB / 0.7275 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.88, allocations: 186.1 kB / 0.7277 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009029/0.8809, allocations: 0.9445 MB / 0.7286 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.881, allocations: 41.41 kB / 0.7287 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.694e-06/0.881, allocations: 1.75 kB / 0.7287 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001113/0.8821, allocations: 0.4981 MB / 0.7291 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.8822, allocations: 106.7 kB / 0.7292 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.8826, allocations: 397.4 kB / 0.7296 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.8827, allocations: 33.98 kB / 0.7297 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.8828, allocations: 221.9 kB / 0.7299 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.8829, allocations: 113.5 kB / 0.73 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.8831, allocations: 77.38 kB / 0.73 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8832, allocations: 355.2 kB / 0.7304 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.8835, allocations: 151.7 kB / 0.7305 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.8838, allocations: 264.1 kB / 0.7308 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.8845, allocations: 478.9 kB / 0.7312 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8845, allocations: 3.781 kB / 0.7312 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008669/0.8853, allocations: 0.5491 MB / 0.7318 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.8854, allocations: 62.92 kB / 0.7318 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8854, allocations: 3.406 kB / 0.7318 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.8854, allocations: 8.188 kB / 0.7319 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.8858, allocations: 83.42 kB / 0.7319 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8858, allocations: 10.59 kB / 0.7319 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.8861, allocations: 52.08 kB / 0.732 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.8862, allocations: 24.8 kB / 0.732 GB, free: 16.11 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.0001963/0.8864, allocations: 181.3 kB / 0.7322 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.8865, allocations: 45.53 kB / 0.7322 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.8874, allocations: 489.9 kB / 0.7327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8874, allocations: 3.562 kB / 0.7327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8875, allocations: 0.9688 kB / 0.7327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.8875, allocations: 5.766 kB / 0.7327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.8904, allocations: 2.439 MB / 0.7351 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.8904, allocations: 9.719 kB / 0.7351 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.8906, allocations: 61.92 kB / 0.7352 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8907, allocations: 5.25 kB / 0.7352 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8907, allocations: 10.3 kB / 0.7352 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.8907, allocations: 8.25 kB / 0.7352 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8907, allocations: 2.719 kB / 0.7352 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.8915, allocations: 0.6431 MB / 0.7358 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.8916, allocations: 121.7 kB / 0.7359 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.8917, allocations: 15.02 kB / 0.7359 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.8921, allocations: 22.27 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.8922, allocations: 29.75 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.8922, allocations: 20.48 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003435/0.8926, allocations: 369.1 kB / 0.7364 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8926, allocations: 0.5625 kB / 0.7364 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001113/0.8937, allocations: 354.6 kB / 0.7367 GB, free: 13.38 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.002109/0.8958, allocations: 1.584 MB / 0.7382 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.8965, allocations: 476.4 kB / 0.7387 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8966, allocations: 0.9062 kB / 0.7387 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.8968, allocations: 160.9 kB / 0.7389 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8982, allocations: 301.2 kB / 0.7391 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.9035, allocations: 4.603 MB / 0.7436 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.904, allocations: 0.8383 MB / 0.7445 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004463/0.9045, allocations: 110.4 kB / 0.7446 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.9047, allocations: 151.2 kB / 0.7447 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/0.9047, allocations: 0 / 0.7447 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.946, allocations: 19.72 MB / 0.764 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.36/10.31, allocations: 5.469 kB / 0.764 GB, free: 6.871 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches