Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 112.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001467, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.86 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3377, allocations: 62.44 MB / 0.5318 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003034/0.3408, allocations: 1.922 MB / 0.5336 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3426, allocations: 1.12 MB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3427, allocations: 10.69 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.3432, allocations: 250.2 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.3437, allocations: 234.7 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3439, allocations: 119 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.3443, allocations: 268.9 kB / 0.5356 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3445, allocations: 32.41 kB / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3447, allocations: 143.4 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3449, allocations: 179.7 kB / 0.5359 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.3449, allocations: 12.75 kB / 0.5359 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3451, allocations: 62.75 kB / 0.536 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.3452, allocations: 65.27 kB / 0.5361 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3453, allocations: 99.34 kB / 0.5361 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3457, allocations: 252.1 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.3457, allocations: 3.984 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3457, allocations: 0 / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3457, allocations: 5 kB / 0.5364 GB, free: 10.25 MB / 398.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.0008577/0.3466, allocations: 0.5832 MB / 0.537 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3466, allocations: 9.156 kB / 0.537 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.3467, allocations: 30.94 kB / 0.537 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.3472, allocations: 299.1 kB / 0.5373 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3472, allocations: 4.125 kB / 0.5373 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.3472, allocations: 16.38 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3475, allocations: 106.5 kB / 0.5374 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3475, allocations: 9 kB / 0.5374 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3476, allocations: 5.125 kB / 0.5374 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3476, allocations: 1.219 kB / 0.5374 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3477, allocations: 45.62 kB / 0.5375 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.3483, allocations: 489.1 kB / 0.5379 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.3487, allocations: 126.8 kB / 0.5381 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3488, allocations: 45.02 kB / 0.5381 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3489, allocations: 2.312 kB / 0.5381 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3491, allocations: 123.8 kB / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3491, allocations: 0 / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.3504, allocations: 0.4973 MB / 0.5387 GB, free: 8.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3505, allocations: 83.73 kB / 0.5388 GB, free: 8.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.351, allocations: 497.5 kB / 0.5393 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3511, allocations: 36.14 kB / 0.5393 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3512, allocations: 172.3 kB / 0.5395 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.3513, allocations: 69.25 kB / 0.5395 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.3514, allocations: 46.05 kB / 0.5396 GB, free: 7.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3515, allocations: 346.1 kB / 0.5399 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3517, allocations: 56.62 kB / 0.54 GB, free: 7.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3518, allocations: 99.78 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3521, allocations: 160.7 kB / 0.5402 GB, free: 7.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3521, allocations: 1.344 kB / 0.5402 GB, free: 7.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003936/0.3525, allocations: 235.2 kB / 0.5404 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3525, allocations: 9.75 kB / 0.5404 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3525, allocations: 6.078 kB / 0.5404 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3526, allocations: 1.344 kB / 0.5404 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3527, allocations: 50.34 kB / 0.5405 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3527, allocations: 5.641 kB / 0.5405 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.3528, allocations: 8.375 kB / 0.5405 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3528, allocations: 10.75 kB / 0.5405 GB, free: 6.949 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.0001606/0.353, allocations: 173.7 kB / 0.5407 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3531, allocations: 39.02 kB / 0.5407 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.3532, allocations: 49.11 kB / 0.5408 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3532, allocations: 1.188 kB / 0.5408 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3532, allocations: 0.9688 kB / 0.5408 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3532, allocations: 109.1 kB / 0.5409 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3533, allocations: 10.22 kB / 0.5409 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3534, allocations: 3.375 kB / 0.5409 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.3534, allocations: 20 kB / 0.5409 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004527/0.3539, allocations: 384 kB / 0.5413 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004594/0.3544, allocations: 479.2 kB / 0.5417 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001356/0.3545, allocations: 73.64 kB / 0.5418 GB, free: 5.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.3549, allocations: 373.3 kB / 0.5421 GB, free: 5.73 MB / 398.1 MB Notification: Performance of Backend: time 1.924e-06/0.3549, allocations: 0 / 0.5421 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3566, allocations: 0.6296 MB / 0.5428 GB, free: 5.438 MB / 398.1 MB Notification: Performance of SimCode: time 0.0011/0.3577, allocations: 0.9653 MB / 0.5437 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Templates: time 0.006776/0.3645, allocations: 3.399 MB / 0.547 GB, free: 1.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches