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.0008024/0.0008024, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007788/0.0007788, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8213/0.8213, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.124/0.124, allocations: 32.37 MB / 270.4 MB, free: 15.05 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.518e-05, allocations: 6.078 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3107/0.3107, allocations: 161.4 MB / 0.5562 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3118, allocations: 0.8936 MB / 0.557 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.312, allocations: 13.72 kB / 0.557 GB, free: 3.387 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.3125, allocations: 195.9 kB / 0.5572 GB, free: 3.277 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.3129, allocations: 299.8 kB / 0.5575 GB, free: 3.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.3161, allocations: 2.226 MB / 0.5597 GB, free: 1.961 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005588/0.3166, allocations: 0.9781 MB / 0.5606 GB, free: 1.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.3169, allocations: 273.1 kB / 0.5609 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3191, allocations: 1.868 MB / 0.5627 GB, free: 60 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3194, allocations: 292.5 kB / 0.563 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.3194, allocations: 49.41 kB / 0.5631 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3218, allocations: 2.46 MB / 0.5655 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3219, allocations: 207.2 kB / 0.5657 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.322, allocations: 203.2 kB / 0.5659 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3238, allocations: 2.304 MB / 0.5681 GB, free: 13.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3238, allocations: 0 / 0.5681 GB, free: 13.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3238, allocations: 3.938 kB / 0.5681 GB, free: 13.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3238, allocations: 0.9375 kB / 0.5681 GB, free: 13.04 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.001191/0.325, allocations: 1.001 MB / 0.5691 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3251, allocations: 18.44 kB / 0.5691 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3253, allocations: 65 kB / 0.5692 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.3257, allocations: 322.2 kB / 0.5695 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3257, allocations: 26.41 kB / 0.5695 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.3257, allocations: 34.88 kB / 0.5695 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.3266, allocations: 0.7678 MB / 0.5703 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3266, allocations: 2.625 kB / 0.5703 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3267, allocations: 21.75 kB / 0.5703 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3267, allocations: 14.62 kB / 0.5703 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.3272, allocations: 498.7 kB / 0.5708 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3285, allocations: 1.468 MB / 0.5722 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.3289, allocations: 364.9 kB / 0.5726 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3291, allocations: 166.5 kB / 0.5727 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.3294, allocations: 127.4 kB / 0.5729 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3294, allocations: 49.28 kB / 0.5729 GB, free: 9.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.3294, allocations: 0 / 0.5729 GB, free: 9.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006484/0.33, allocations: 0.4954 MB / 0.5734 GB, free: 9.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3301, allocations: 105.6 kB / 0.5735 GB, free: 8.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3303, allocations: 295.4 kB / 0.5738 GB, free: 8.789 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3303, allocations: 35.17 kB / 0.5738 GB, free: 8.754 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3304, allocations: 229.7 kB / 0.574 GB, free: 8.547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3305, allocations: 112.4 kB / 0.5741 GB, free: 8.449 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.3305, allocations: 80.48 kB / 0.5742 GB, free: 8.398 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.3306, allocations: 344.1 kB / 0.5745 GB, free: 8.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3308, allocations: 207.5 kB / 0.5747 GB, free: 7.922 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.3311, allocations: 314.6 kB / 0.575 GB, free: 7.648 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.3315, allocations: 477.6 kB / 0.5755 GB, free: 7.238 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3315, allocations: 6.625 kB / 0.5755 GB, free: 7.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005728/0.3321, allocations: 0.6 MB / 0.5761 GB, free: 6.605 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.3321, allocations: 67.39 kB / 0.5761 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3321, allocations: 7.938 kB / 0.5761 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3321, allocations: 4 kB / 0.5762 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3323, allocations: 83.83 kB / 0.5762 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3323, allocations: 4.375 kB / 0.5762 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3324, allocations: 47.77 kB / 0.5763 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3325, allocations: 20 kB / 0.5763 GB, free: 6.363 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.0001345/0.3326, allocations: 187 kB / 0.5765 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.3327, allocations: 31.81 kB / 0.5765 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.3332, allocations: 488.3 kB / 0.577 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3332, allocations: 4 kB / 0.577 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3332, allocations: 0 / 0.577 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3333, allocations: 240 / 0.577 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.3345, allocations: 1.212 MB / 0.5782 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3345, allocations: 0 / 0.5782 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3346, allocations: 63.91 kB / 0.5782 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.3346, allocations: 7.938 kB / 0.5782 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3346, allocations: 11.98 kB / 0.5782 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3346, allocations: 4 kB / 0.5782 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3346, allocations: 0 / 0.5782 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.3354, allocations: 0.628 MB / 0.5789 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3354, allocations: 43.62 kB / 0.5789 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3354, allocations: 13.5 kB / 0.5789 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.3356, allocations: 19.98 kB / 0.5789 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.3357, allocations: 27.89 kB / 0.579 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3357, allocations: 19.98 kB / 0.579 GB, free: 3.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3359, allocations: 279 kB / 0.5792 GB, free: 3.242 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3359, allocations: 0 / 0.5792 GB, free: 3.242 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006132/0.3365, allocations: 398.8 kB / 0.5796 GB, free: 2.852 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.0008328/0.3373, allocations: 0.6209 MB / 0.5802 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.3378, allocations: 0.494 MB / 0.5807 GB, free: 1.711 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3378, allocations: 0 / 0.5807 GB, free: 1.711 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.338, allocations: 167.5 kB / 0.5809 GB, free: 1.551 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.3386, allocations: 211.9 kB / 0.5811 GB, free: 1.367 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.3394, allocations: 0.7978 MB / 0.5819 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3396, allocations: 232.1 kB / 0.5821 GB, free: 272 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.3397, allocations: 48.48 kB / 0.5821 GB, free: 224 kB / 458.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3397, allocations: 0 / 0.5821 GB, free: 224 kB / 458.7 MB Notification: Performance of Templates: time 0.009549/0.3492, allocations: 11.3 MB / 0.5932 GB, free: 4.957 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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: 5.834274081513286]