Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.8 kB / 18.45 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 178.3 kB / 19.37 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 71.89 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3678, allocations: 60.82 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003228/0.3711, allocations: 1.901 MB / 0.5215 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3727, allocations: 0.9918 MB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3729, allocations: 5.25 kB / 0.5225 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3734, allocations: 216.8 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.3739, allocations: 169 kB / 0.5229 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.3744, allocations: 176.2 kB / 0.523 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.3747, allocations: 245 kB / 0.5233 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3749, allocations: 21.55 kB / 0.5233 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3751, allocations: 123.7 kB / 0.5234 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3753, allocations: 153.9 kB / 0.5235 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.3753, allocations: 7.344 kB / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.3755, allocations: 59.09 kB / 0.5236 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.3756, allocations: 60.45 kB / 0.5237 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.3757, allocations: 90.59 kB / 0.5238 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.3761, allocations: 232.7 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3761, allocations: 0.8438 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3761, allocations: 0 / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3761, allocations: 1.969 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006925/0.3768, allocations: 0.5523 MB / 0.5245 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3769, allocations: 10.28 kB / 0.5245 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.3769, allocations: 29.67 kB / 0.5246 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.3773, allocations: 275.3 kB / 0.5248 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3773, allocations: 4.156 kB / 0.5248 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.3774, allocations: 14.06 kB / 0.5248 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3776, allocations: 115.5 kB / 0.5249 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3777, allocations: 3.906 kB / 0.5249 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3777, allocations: 10.52 kB / 0.525 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3777, allocations: 1.75 kB / 0.525 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3779, allocations: 46.5 kB / 0.525 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.3785, allocations: 466.7 kB / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.3789, allocations: 128.1 kB / 0.5256 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.379, allocations: 44.88 kB / 0.5256 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.379, allocations: 7.641 kB / 0.5256 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.3793, allocations: 116.1 kB / 0.5257 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.487e-06/0.3793, allocations: 0 / 0.5257 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001307/0.3806, allocations: 0.4932 MB / 0.5262 GB, free: 15.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.3807, allocations: 84.47 kB / 0.5263 GB, free: 15.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.3812, allocations: 431.1 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3812, allocations: 28.08 kB / 0.5267 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3813, allocations: 159.4 kB / 0.5269 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.3814, allocations: 63.33 kB / 0.5269 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3815, allocations: 41.8 kB / 0.527 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3816, allocations: 346.3 kB / 0.5273 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3818, allocations: 56.25 kB / 0.5274 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.382, allocations: 101.3 kB / 0.5275 GB, free: 14.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3822, allocations: 163.8 kB / 0.5276 GB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3823, allocations: 0 / 0.5276 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003981/0.3827, allocations: 245.5 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3827, allocations: 12.09 kB / 0.5279 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3827, allocations: 1.375 kB / 0.5279 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3827, allocations: 1.375 kB / 0.5279 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3829, allocations: 42.3 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3829, allocations: 2.75 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.383, allocations: 12.11 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.383, allocations: 6.875 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001768/0.3832, allocations: 176 kB / 0.5281 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.3832, allocations: 34.69 kB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.3833, allocations: 39.12 kB / 0.5282 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3833, allocations: 2.75 kB / 0.5282 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.3833, allocations: 0 / 0.5282 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3833, allocations: 5.359 kB / 0.5282 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.3843, allocations: 0.7255 MB / 0.5289 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3843, allocations: 1.562 kB / 0.5289 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.3844, allocations: 35.58 kB / 0.5289 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3844, allocations: 2.719 kB / 0.5289 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3844, allocations: 3.844 kB / 0.5289 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3844, allocations: 2.594 kB / 0.5289 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3844, allocations: 1.688 kB / 0.5289 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.3849, allocations: 423.8 kB / 0.5293 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.385, allocations: 104.4 kB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.385, allocations: 7.547 kB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3852, allocations: 8.062 kB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3852, allocations: 29.06 kB / 0.5295 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3853, allocations: 9.156 kB / 0.5295 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.3856, allocations: 320.6 kB / 0.5298 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3856, allocations: 0 / 0.5298 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.386, allocations: 51.61 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001249/0.3872, allocations: 0.5068 MB / 0.5303 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3876, allocations: 165 kB / 0.5305 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3876, allocations: 1.625 kB / 0.5305 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3878, allocations: 78.53 kB / 0.5306 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3884, allocations: 62.47 kB / 0.5306 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.3893, allocations: 0.5703 MB / 0.5312 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3898, allocations: 0.7792 MB / 0.5319 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.3899, allocations: 30.58 kB / 0.532 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3899, allocations: 4.312 kB / 0.532 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Templates: time 0.006366/0.3962, allocations: 3.675 MB / 0.5356 GB, free: 9.199 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time