Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 105.4 kB / 18.78 MB, free: 3.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 211.2 kB / 19.8 MB, free: 2.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 250.8 MB, free: 8.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.88 MB / 351.8 MB, free: 7.312 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 79.86 kB / 496.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3649, allocations: 65.98 MB / 0.5494 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002982/0.3679, allocations: 1.739 MB / 0.5511 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3695, allocations: 1.033 MB / 0.5521 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.3696, allocations: 7.938 kB / 0.5521 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3699, allocations: 35.83 kB / 0.5521 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3702, allocations: 99.53 kB / 0.5522 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.3704, allocations: 79.67 kB / 0.5523 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3706, allocations: 103.7 kB / 0.5524 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.3707, allocations: 16 kB / 0.5524 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.3708, allocations: 43.78 kB / 0.5524 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.3709, allocations: 27.84 kB / 0.5525 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3709, allocations: 4 kB / 0.5525 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.371, allocations: 43.92 kB / 0.5525 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.371, allocations: 23.86 kB / 0.5525 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.3711, allocations: 43.72 kB / 0.5526 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3713, allocations: 120.1 kB / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3713, allocations: 0 / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3713, allocations: 0 / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3713, allocations: 0 / 0.5527 GB, free: 2.074 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.0005554/0.3719, allocations: 434.6 kB / 0.5531 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3719, allocations: 12.03 kB / 0.5531 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3719, allocations: 8.891 kB / 0.5531 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3722, allocations: 220.1 kB / 0.5533 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3722, allocations: 4.375 kB / 0.5533 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3722, allocations: 8.125 kB / 0.5534 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3724, allocations: 53.67 kB / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3724, allocations: 0 / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3724, allocations: 4 kB / 0.5534 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3724, allocations: 7.984 kB / 0.5534 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.3725, allocations: 15.98 kB / 0.5534 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.3728, allocations: 308.7 kB / 0.5537 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.373, allocations: 46.69 kB / 0.5538 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.373, allocations: 24.84 kB / 0.5538 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3731, allocations: 4 kB / 0.5538 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.3732, allocations: 63.39 kB / 0.5539 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3732, allocations: 3.938 kB / 0.5539 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005012/0.3737, allocations: 169.4 kB / 0.554 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3737, allocations: 59.41 kB / 0.5541 GB, free: 484 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3739, allocations: 218 kB / 0.5543 GB, free: 256 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.374, allocations: 29.7 kB / 0.5543 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3741, allocations: 104.1 kB / 0.5544 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3741, allocations: 23.84 kB / 0.5544 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3741, allocations: 21.72 kB / 0.5545 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3743, allocations: 322.8 kB / 0.5548 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.3744, allocations: 23.98 kB / 0.5548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.3744, allocations: 41.7 kB / 0.5548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3745, allocations: 65.75 kB / 0.5549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3745, allocations: 3.938 kB / 0.5549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.3747, allocations: 97.59 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3747, allocations: 4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3747, allocations: 0 / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3748, allocations: 3.938 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.3749, allocations: 27.95 kB / 0.555 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3749, allocations: 0 / 0.555 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3749, allocations: 11.94 kB / 0.555 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3749, allocations: 0 / 0.555 GB, free: 15.44 MB / 414.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.0001176/0.375, allocations: 129.8 kB / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3751, allocations: 11.91 kB / 0.5552 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3753, allocations: 119.4 kB / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3753, allocations: 0 / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3753, allocations: 0 / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3753, allocations: 7.938 kB / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.3758, allocations: 399.3 kB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3758, allocations: 0 / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.3759, allocations: 8 kB / 0.5557 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3759, allocations: 4 kB / 0.5557 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3759, allocations: 8.125 kB / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3759, allocations: 0 / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3759, allocations: 3.938 kB / 0.5557 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3761, allocations: 204.3 kB / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3762, allocations: 85.05 kB / 0.556 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.3763, allocations: 11.94 kB / 0.556 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.3763, allocations: 3.938 kB / 0.556 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3764, allocations: 7.984 kB / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3764, allocations: 4 kB / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3765, allocations: 168.8 kB / 0.5562 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3765, allocations: 0 / 0.5562 GB, free: 14.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3768, allocations: 23.94 kB / 0.5562 GB, free: 14.15 MB / 414.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.001668/0.3785, allocations: 467.2 kB / 0.5566 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3787, allocations: 55.91 kB / 0.5567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3787, allocations: 0 / 0.5567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3787, allocations: 27.98 kB / 0.5567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3791, allocations: 19.98 kB / 0.5567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.3796, allocations: 246.7 kB / 0.557 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.3801, allocations: 0.708 MB / 0.5577 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.3802, allocations: 16.88 kB / 0.5577 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.3802, allocations: 23.42 kB / 0.5577 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3802, allocations: 0 / 0.5577 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.00516/0.3854, allocations: 1.771 MB / 0.5594 GB, free: 10.95 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches