Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009361/0.0009361, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001031/0.001031, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8528/0.8528, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1208/0.1208, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.168e-05, allocations: 6.078 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2787/0.2787, allocations: 161.4 MB / 0.5549 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2801, allocations: 0.884 MB / 0.5558 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.2804, allocations: 12.81 kB / 0.5558 GB, free: 3.297 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.281, allocations: 206.6 kB / 0.556 GB, free: 3.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.2815, allocations: 298 kB / 0.5563 GB, free: 2.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.2856, allocations: 2.224 MB / 0.5585 GB, free: 1.945 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009633/0.2865, allocations: 0.9843 MB / 0.5594 GB, free: 1.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.2869, allocations: 261.7 kB / 0.5597 GB, free: 1.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.2896, allocations: 1.865 MB / 0.5615 GB, free: 100 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.2901, allocations: 300.6 kB / 0.5618 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.2901, allocations: 47.44 kB / 0.5618 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.2934, allocations: 2.452 MB / 0.5642 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.2937, allocations: 208.9 kB / 0.5644 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.2939, allocations: 202.3 kB / 0.5646 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.2978, allocations: 2.307 MB / 0.5669 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2978, allocations: 6.516 kB / 0.5669 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2978, allocations: 0.9375 kB / 0.5669 GB, free: 13.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2978, allocations: 0 / 0.5669 GB, free: 13.07 MB / 458.7 MB 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.001762/0.2995, allocations: 1.009 MB / 0.5679 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.2996, allocations: 8.156 kB / 0.5679 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.2996, allocations: 74.22 kB / 0.5679 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.2998, allocations: 64.2 kB / 0.568 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.3003, allocations: 324 kB / 0.5683 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3003, allocations: 28.41 kB / 0.5683 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3003, allocations: 34.81 kB / 0.5684 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.301, allocations: 0.7714 MB / 0.5691 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.301, allocations: 3.938 kB / 0.5691 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.301, allocations: 17.09 kB / 0.5691 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3011, allocations: 10.94 kB / 0.5692 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.3016, allocations: 492.8 kB / 0.5696 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3033, allocations: 1.567 MB / 0.5712 GB, free: 9.691 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.3038, allocations: 364.5 kB / 0.5715 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.304, allocations: 170.4 kB / 0.5717 GB, free: 9.375 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.3043, allocations: 123.5 kB / 0.5718 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3043, allocations: 48.08 kB / 0.5718 GB, free: 9.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=30): time 2.895e-06/0.3043, allocations: 0 / 0.5718 GB, free: 9.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007264/0.305, allocations: 0.5047 MB / 0.5723 GB, free: 9.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3051, allocations: 108.2 kB / 0.5724 GB, free: 8.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.3054, allocations: 406.6 kB / 0.5728 GB, free: 8.633 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.3054, allocations: 32.02 kB / 0.5728 GB, free: 8.598 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3055, allocations: 218 kB / 0.5731 GB, free: 8.402 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.3056, allocations: 112.5 kB / 0.5732 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.3057, allocations: 74.38 kB / 0.5732 GB, free: 8.258 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3058, allocations: 352.8 kB / 0.5736 GB, free: 7.914 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.306, allocations: 204 kB / 0.5738 GB, free: 7.781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3062, allocations: 324.8 kB / 0.5741 GB, free: 7.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.3067, allocations: 486.3 kB / 0.5745 GB, free: 7.141 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3067, allocations: 0 / 0.5745 GB, free: 7.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000646/0.3074, allocations: 0.608 MB / 0.5751 GB, free: 6.598 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.3074, allocations: 63.39 kB / 0.5752 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3074, allocations: 4 kB / 0.5752 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3074, allocations: 4 kB / 0.5752 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3077, allocations: 83.89 kB / 0.5753 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3077, allocations: 7.938 kB / 0.5753 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3079, allocations: 53.17 kB / 0.5753 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3079, allocations: 21.55 kB / 0.5754 GB, free: 6.355 MB / 458.7 MB 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.0001728/0.3081, allocations: 189.9 kB / 0.5755 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.3081, allocations: 47.7 kB / 0.5756 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.3088, allocations: 478.7 kB / 0.576 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3088, allocations: 4 kB / 0.576 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3088, allocations: 11.98 kB / 0.5761 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3088, allocations: 240 / 0.5761 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.3105, allocations: 1.247 MB / 0.5773 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3105, allocations: 5.062 kB / 0.5773 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3106, allocations: 64.08 kB / 0.5773 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3106, allocations: 4 kB / 0.5773 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3106, allocations: 8 kB / 0.5773 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3107, allocations: 4 kB / 0.5774 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3107, allocations: 11.88 kB / 0.5774 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.3112, allocations: 0.6445 MB / 0.578 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.3112, allocations: 45.2 kB / 0.578 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3113, allocations: 17.69 kB / 0.5781 GB, free: 3.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3115, allocations: 23.98 kB / 0.5781 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3116, allocations: 31.89 kB / 0.5781 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.3116, allocations: 19.98 kB / 0.5781 GB, free: 3.398 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.3119, allocations: 363.1 kB / 0.5785 GB, free: 3.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3119, allocations: 0 / 0.5785 GB, free: 3.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008737/0.3128, allocations: 379 kB / 0.5788 GB, free: 2.676 MB / 458.7 MB 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.001784/0.3145, allocations: 1.71 MB / 0.5805 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.3151, allocations: 0.5013 MB / 0.581 GB, free: 416 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3151, allocations: 0 / 0.581 GB, free: 416 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3153, allocations: 164.7 kB / 0.5811 GB, free: 252 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.3162, allocations: 270.3 kB / 0.5814 GB, free: 4 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.3207, allocations: 4.818 MB / 0.5861 GB, free: 10.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.3209, allocations: 236.1 kB / 0.5863 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.3212, allocations: 114.9 kB / 0.5864 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3213, allocations: 152.4 kB / 0.5866 GB, free: 10.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3213, allocations: 0 / 0.5866 GB, free: 10.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.3545, allocations: 22.69 MB / 0.6087 GB, free: 3.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.425, allocations: 0 / 0.6087 GB, free: 3.68 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.384792359545827]