Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001118, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.2 MB / 218.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 94.53 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.333/0.333, allocations: 43.46 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.183e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.4406, allocations: 87.47 MB / 0.5582 GB, free: 1.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001454/0.4408, allocations: 73.28 kB / 0.5583 GB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.4541, allocations: 5.524 MB / 0.5637 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4541, allocations: 0 / 0.5637 GB, free: 12.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.4542, allocations: 4 kB / 0.5637 GB, free: 12 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004164/0.4546, allocations: 408.2 kB / 0.5641 GB, free: 11.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4546, allocations: 12.03 kB / 0.5641 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4547, allocations: 23.08 kB / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.455, allocations: 226.7 kB / 0.5643 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.455, allocations: 0 / 0.5643 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.455, allocations: 4 kB / 0.5643 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.4552, allocations: 45.67 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.4552, allocations: 0 / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.4552, allocations: 0 / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4552, allocations: 5.547 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.4552, allocations: 19.92 kB / 0.5644 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.4554, allocations: 193.6 kB / 0.5646 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.4555, allocations: 46.62 kB / 0.5646 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.4556, allocations: 28.92 kB / 0.5647 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4556, allocations: 0 / 0.5647 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.4557, allocations: 67.34 kB / 0.5647 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.4558, allocations: 4.766 kB / 0.5647 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.4559, allocations: 85.48 kB / 0.5648 GB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.456, allocations: 51.41 kB / 0.5649 GB, free: 10.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4562, allocations: 234.8 kB / 0.5651 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4563, allocations: 29.7 kB / 0.5651 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.4563, allocations: 108.1 kB / 0.5652 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.4564, allocations: 7.906 kB / 0.5652 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4564, allocations: 3.609 kB / 0.5652 GB, free: 10.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4565, allocations: 335.7 kB / 0.5655 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.4565, allocations: 16 kB / 0.5656 GB, free: 9.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.4566, allocations: 24.14 kB / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.4566, allocations: 23.88 kB / 0.5656 GB, free: 9.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4566, allocations: 0 / 0.5656 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001164/0.4567, allocations: 81.5 kB / 0.5657 GB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4568, allocations: 9.719 kB / 0.5657 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4568, allocations: 0 / 0.5657 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.4568, allocations: 4.031 kB / 0.5657 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.4569, allocations: 12.88 kB / 0.5657 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4569, allocations: 0 / 0.5657 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.4569, allocations: 15.89 kB / 0.5657 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.457, allocations: 4 kB / 0.5657 GB, free: 9.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.457, allocations: 106.7 kB / 0.5658 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.4571, allocations: 11.91 kB / 0.5658 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4572, allocations: 94.67 kB / 0.5659 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4572, allocations: 7.922 kB / 0.5659 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4573, allocations: 8 kB / 0.5659 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4573, allocations: 0 / 0.5659 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4574, allocations: 209.4 kB / 0.5661 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.4574, allocations: 7.953 kB / 0.5662 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.4575, allocations: 4 kB / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4575, allocations: 0 / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4575, allocations: 0 / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4575, allocations: 0 / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4575, allocations: 192 / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.4576, allocations: 121 kB / 0.5663 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.4577, allocations: 100.9 kB / 0.5664 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.4578, allocations: 8 kB / 0.5664 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.4578, allocations: 0 / 0.5664 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4579, allocations: 7.984 kB / 0.5664 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4579, allocations: 0 / 0.5664 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.458, allocations: 205.4 kB / 0.5666 GB, free: 8.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.458, allocations: 0 / 0.5666 GB, free: 8.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00022/0.4583, allocations: 24 kB / 0.5666 GB, free: 8.727 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007782/0.4591, allocations: 377 kB / 0.567 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.4592, allocations: 43.92 kB / 0.567 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4592, allocations: 0 / 0.567 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.4592, allocations: 20 kB / 0.567 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.4594, allocations: 19.98 kB / 0.567 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.4598, allocations: 206.3 kB / 0.5672 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.4601, allocations: 0.7238 MB / 0.5679 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.4602, allocations: 24.39 kB / 0.568 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.4602, allocations: 19.38 kB / 0.568 GB, free: 7.324 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4602, allocations: 0 / 0.568 GB, free: 7.324 MB / 394.7 MB Notification: Performance of Templates: time 0.003732/0.4639, allocations: 1.62 MB / 0.5696 GB, free: 5.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches