Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009318/0.0009319, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3516/0.3516, allocations: 44.84 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3726, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003044/0.3757, allocations: 1.795 MB / 0.5169 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3772, allocations: 1.026 MB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.3773, allocations: 7.156 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.3776, allocations: 37.83 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3778, allocations: 75.95 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3781, allocations: 99.81 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3783, allocations: 102 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.3784, allocations: 10.12 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.3784, allocations: 42.97 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.3785, allocations: 36.33 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3785, allocations: 2.844 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.3786, allocations: 44.17 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.3787, allocations: 15.95 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3787, allocations: 34.64 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3789, allocations: 112.1 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3789, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3789, allocations: 4 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3789, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005198/0.3795, allocations: 417.8 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3795, allocations: 8.094 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3796, allocations: 14.41 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3798, allocations: 212.1 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3798, allocations: 7.25 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3798, allocations: 7.031 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.38, allocations: 60.69 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.38, allocations: 0 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.38, allocations: 0 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.38, allocations: 3 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.3801, allocations: 20.31 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.3804, allocations: 298.6 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3806, allocations: 55.47 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.3807, allocations: 24.66 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3807, allocations: 0 / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3809, allocations: 63.81 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3809, allocations: 3.938 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005033/0.3814, allocations: 170.6 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.3814, allocations: 58.28 kB / 0.5199 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3816, allocations: 196.9 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.3816, allocations: 25.7 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.3816, allocations: 101.2 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3817, allocations: 25.66 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3817, allocations: 22.66 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.3818, allocations: 332.1 kB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.3818, allocations: 14.41 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/0.3819, allocations: 43.11 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.382, allocations: 64.67 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.382, allocations: 3.938 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.3822, allocations: 101.8 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3822, allocations: 6.188 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3822, allocations: 0 / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3822, allocations: 4.031 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.3823, allocations: 27.08 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3823, allocations: 160 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.3824, allocations: 6.781 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3824, allocations: 11.09 kB / 0.5208 GB, free: 33.49 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 7.715e-05/0.3825, allocations: 126.4 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.3825, allocations: 9.281 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.3826, allocations: 19.03 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3826, allocations: 3.938 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3826, allocations: 4 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3826, allocations: 3.938 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.3829, allocations: 396.3 kB / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3829, allocations: 0 / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.383, allocations: 8.531 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.383, allocations: 0 / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.383, allocations: 6.75 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.383, allocations: 3.375 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.383, allocations: 6.781 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.3834, allocations: 0.7783 MB / 0.5221 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.3834, allocations: 91.19 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3835, allocations: 2.844 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.3835, allocations: 11 kB / 0.5222 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3836, allocations: 6.359 kB / 0.5222 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3836, allocations: 3.062 kB / 0.5222 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.3837, allocations: 151.3 kB / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.384, allocations: 28.06 kB / 0.5224 GB, free: 32.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00101/0.3851, allocations: 467.7 kB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.3853, allocations: 59.03 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3853, allocations: 0 / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.3854, allocations: 29.61 kB / 0.5229 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3857, allocations: 28.09 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3862, allocations: 381 kB / 0.5233 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.3864, allocations: 0.7079 MB / 0.524 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.3864, allocations: 21.19 kB / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.3865, allocations: 23.36 kB / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3865, allocations: 0 / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of Templates: time 0.003898/0.3904, allocations: 1.701 MB / 0.5257 GB, free: 30.5 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches