Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009347/0.0009347, allocations: 192.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000785/0.0007849, allocations: 96.05 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3318/0.3318, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.000255, allocations: 8 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3077, allocations: 63.1 MB / 0.5214 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001761/0.3095, allocations: 1.597 MB / 0.5229 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3109, allocations: 1.458 MB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.311, allocations: 3.938 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3113, allocations: 158.6 kB / 0.5245 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.3116, allocations: 161.2 kB / 0.5247 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.312, allocations: 158.9 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3122, allocations: 237.5 kB / 0.5251 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3123, allocations: 28.78 kB / 0.5251 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3124, allocations: 102.2 kB / 0.5252 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3125, allocations: 128.2 kB / 0.5253 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3126, allocations: 5.562 kB / 0.5253 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.3127, allocations: 50.67 kB / 0.5254 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.3127, allocations: 46.44 kB / 0.5254 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.3128, allocations: 107.9 kB / 0.5255 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.313, allocations: 210.9 kB / 0.5257 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3131, allocations: 6.469 kB / 0.5257 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3131, allocations: 3.938 kB / 0.5257 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3131, allocations: 0 / 0.5257 GB, free: 35.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005115/0.3136, allocations: 0.5005 MB / 0.5262 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3136, allocations: 8.375 kB / 0.5262 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.3137, allocations: 27.72 kB / 0.5262 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3139, allocations: 279.3 kB / 0.5265 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3139, allocations: 2.969 kB / 0.5265 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.314, allocations: 20.98 kB / 0.5265 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3142, allocations: 103.9 kB / 0.5266 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3142, allocations: 0 / 0.5266 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3142, allocations: 4 kB / 0.5266 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3142, allocations: 3.219 kB / 0.5266 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3143, allocations: 42.5 kB / 0.5267 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3148, allocations: 475.3 kB / 0.5271 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.3151, allocations: 123.1 kB / 0.5272 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.3152, allocations: 44.41 kB / 0.5273 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3152, allocations: 6.906 kB / 0.5273 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.3154, allocations: 115.2 kB / 0.5274 GB, free: 34.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3154, allocations: 3.938 kB / 0.5274 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001054/0.3165, allocations: 496.5 kB / 0.5279 GB, free: 33.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3165, allocations: 80.66 kB / 0.528 GB, free: 33.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.3168, allocations: 369.9 kB / 0.5283 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3169, allocations: 29.7 kB / 0.5283 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3169, allocations: 149.8 kB / 0.5285 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.317, allocations: 70.73 kB / 0.5285 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.317, allocations: 4 kB / 0.5285 GB, free: 33.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.3171, allocations: 351.3 kB / 0.5289 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3172, allocations: 55.8 kB / 0.5289 GB, free: 33.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3173, allocations: 87.53 kB / 0.529 GB, free: 33.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3175, allocations: 158.8 kB / 0.5292 GB, free: 32.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3175, allocations: 0 / 0.5292 GB, free: 32.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003046/0.3178, allocations: 230.7 kB / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3178, allocations: 6.969 kB / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3178, allocations: 3 kB / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3179, allocations: 0 / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.318, allocations: 46.39 kB / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.318, allocations: 2.594 kB / 0.5294 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.3181, allocations: 16.69 kB / 0.5295 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3181, allocations: 9.984 kB / 0.5295 GB, free: 32.84 MB / 378.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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.0001045/0.3182, allocations: 159.7 kB / 0.5296 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3183, allocations: 35.47 kB / 0.5297 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.3183, allocations: 32.84 kB / 0.5297 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3183, allocations: 6.906 kB / 0.5297 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3183, allocations: 3 kB / 0.5297 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3184, allocations: 0 / 0.5297 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.319, allocations: 0.7255 MB / 0.5304 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.319, allocations: 3.031 kB / 0.5304 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.3191, allocations: 26.19 kB / 0.5304 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3191, allocations: 6.719 kB / 0.5304 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3191, allocations: 16.78 kB / 0.5305 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3191, allocations: 6.656 kB / 0.5305 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3191, allocations: 0 / 0.5305 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.3195, allocations: 419.3 kB / 0.5309 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.3195, allocations: 113.1 kB / 0.531 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.3196, allocations: 3.031 kB / 0.531 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3197, allocations: 10 kB / 0.531 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.3198, allocations: 22.8 kB / 0.531 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3198, allocations: 11.25 kB / 0.531 GB, free: 31.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.32, allocations: 280.1 kB / 0.5313 GB, free: 31.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.32, allocations: 0 / 0.5313 GB, free: 31.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.3203, allocations: 47.06 kB / 0.5313 GB, free: 31.53 MB / 378.7 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.001106/0.3214, allocations: 0.5991 MB / 0.5319 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3217, allocations: 156.6 kB / 0.5321 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3217, allocations: 0 / 0.5321 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3219, allocations: 92.41 kB / 0.5322 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.3224, allocations: 61.25 kB / 0.5322 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.3231, allocations: 0.5624 MB / 0.5328 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3233, allocations: 0.7617 MB / 0.5335 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3235, allocations: 44.27 kB / 0.5335 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.3235, allocations: 33.42 kB / 0.5336 GB, free: 29.96 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3235, allocations: 0 / 0.5336 GB, free: 29.96 MB / 378.7 MB Notification: Performance of Templates: time 0.006234/0.3298, allocations: 2.925 MB / 0.5364 GB, free: 29.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches