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/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.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/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2951/0.2951, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 79.88 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3682, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00299/0.3712, allocations: 1.734 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3731, allocations: 1.021 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.3732, allocations: 1.031 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.3735, allocations: 46.88 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3739, allocations: 94.34 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3741, allocations: 75.84 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3743, allocations: 104.7 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3744, allocations: 6.688 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3745, allocations: 47.81 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.3746, allocations: 38.41 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3747, allocations: 8.156 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.3748, allocations: 39.39 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3749, allocations: 19.17 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.375, allocations: 40.09 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3752, allocations: 121.8 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3752, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3752, allocations: 1.156 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3752, allocations: 3.938 kB / 0.535 GB, free: 11.05 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.0006155/0.3758, allocations: 415.2 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3759, allocations: 8.969 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3759, allocations: 17.5 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3762, allocations: 213.8 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3763, allocations: 1.469 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3763, allocations: 10.22 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3764, allocations: 50.7 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3765, allocations: 3.906 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3765, allocations: 5.094 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3765, allocations: 3.938 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.3766, allocations: 18.77 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.377, allocations: 295 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3772, allocations: 57.58 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.3773, allocations: 26.41 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3773, allocations: 0 / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.3775, allocations: 74.45 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3775, allocations: 0 / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005671/0.3781, allocations: 166.2 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3781, allocations: 55.39 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.3784, allocations: 196.9 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3784, allocations: 27.02 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.3785, allocations: 101.6 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3785, allocations: 27.64 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3786, allocations: 24.72 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3787, allocations: 325.9 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.3788, allocations: 22.7 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.3789, allocations: 34.98 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.379, allocations: 63.02 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.379, allocations: 1.188 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.3792, allocations: 107.5 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3792, allocations: 5.562 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3793, allocations: 0 / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3793, allocations: 5.062 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.3794, allocations: 17.2 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3794, allocations: 1.094 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.3794, allocations: 6.531 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3795, allocations: 6.25 kB / 0.5373 GB, free: 8.895 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.000119/0.3796, allocations: 127.5 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3796, allocations: 9.344 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.3797, allocations: 22.61 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3797, allocations: 1.156 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3797, allocations: 3.938 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3797, allocations: 4.906 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.3803, allocations: 398.5 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3803, allocations: 1.031 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.3803, allocations: 15.48 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3803, allocations: 1.156 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3804, allocations: 5.219 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3804, allocations: 1.156 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3804, allocations: 0 / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.3807, allocations: 201.2 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3808, allocations: 87.98 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3808, allocations: 10.5 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3809, allocations: 9.141 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.381, allocations: 7.969 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.381, allocations: 3.625 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3811, allocations: 151.5 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3812, allocations: 1.125 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3814, allocations: 28.92 kB / 0.5384 GB, free: 7.922 MB / 398.1 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.001143/0.3826, allocations: 464.4 kB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3828, allocations: 54.64 kB / 0.5389 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3828, allocations: 4.062 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.3829, allocations: 29.33 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3833, allocations: 26.06 kB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.3839, allocations: 262.8 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.3844, allocations: 0.7097 MB / 0.5399 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.3845, allocations: 15.47 kB / 0.5399 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3845, allocations: 0 / 0.5399 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.00476/0.3893, allocations: 1.957 MB / 0.5418 GB, free: 5.688 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches