Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.1 MB / 345 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 482.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 62.44 MB / 0.5317 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002989/0.3684, allocations: 1.735 MB / 0.5334 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3702, allocations: 1.021 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.3703, allocations: 4 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3706, allocations: 37.23 kB / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3709, allocations: 90.7 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.3711, allocations: 78.89 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3713, allocations: 106.3 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3714, allocations: 6.875 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.3715, allocations: 46.91 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.3716, allocations: 42.72 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3716, allocations: 4.125 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.3717, allocations: 39.48 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.3718, allocations: 17.42 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.3718, allocations: 36.03 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3721, allocations: 119.9 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3721, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3721, allocations: 1.375 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3721, allocations: 0 / 0.535 GB, free: 11.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005208/0.3727, allocations: 414.1 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3727, allocations: 12.25 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.3728, allocations: 10.39 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.3731, allocations: 210.4 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3731, allocations: 1.75 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3731, allocations: 5.5 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3733, allocations: 54.05 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3733, allocations: 1.375 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3733, allocations: 0 / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3733, allocations: 5.312 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.3734, allocations: 25.55 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3738, allocations: 285.5 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3739, allocations: 57.92 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.374, allocations: 22.47 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.374, allocations: 4 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.3742, allocations: 74.44 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3742, allocations: 0 / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.3747, allocations: 177.4 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3748, allocations: 52.47 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.375, allocations: 168.3 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3751, allocations: 27.2 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.3751, allocations: 104.5 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3752, allocations: 23.73 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3752, allocations: 24.61 kB / 0.5367 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3754, allocations: 325.3 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.3754, allocations: 18.69 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3755, allocations: 36.2 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3757, allocations: 74.58 kB / 0.5372 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3757, allocations: 0 / 0.5372 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.3759, allocations: 99.92 kB / 0.5373 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3759, allocations: 5.656 kB / 0.5373 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3759, allocations: 0 / 0.5373 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.376, allocations: 5.078 kB / 0.5373 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.3761, allocations: 17.41 kB / 0.5373 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3761, allocations: 1.188 kB / 0.5373 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3761, allocations: 9.094 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3761, allocations: 7.281 kB / 0.5373 GB, free: 8.953 MB / 398.1 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 0.0001189/0.3763, allocations: 120.7 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3763, allocations: 9.859 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.3764, allocations: 12.16 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3764, allocations: 5.078 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3764, allocations: 0 / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.3764, allocations: 87.39 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.3765, allocations: 10.09 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.3765, allocations: 5.094 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3766, allocations: 7.672 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002731/0.3769, allocations: 177 kB / 0.5377 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004719/0.3774, allocations: 281.2 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.299e-05/0.3774, allocations: 29.69 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.3777, allocations: 129.6 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of Backend: time 8.92e-07/0.3777, allocations: 4 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3794, allocations: 471 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009634/0.3804, allocations: 0.651 MB / 0.5392 GB, free: 7.332 MB / 398.1 MB Notification: Performance of Templates: time 0.006228/0.3866, allocations: 1.774 MB / 0.541 GB, free: 6.434 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches