Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 250.9 MB, free: 8.805 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.2426/0.2426, allocations: 46.89 MB / 351.8 MB, free: 7.34 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.002266/0.002266, allocations: 83.86 kB / 496.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3371, allocations: 65.98 MB / 0.5494 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003287/0.3404, allocations: 1.741 MB / 0.5511 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.343, allocations: 1.679 MB / 0.5527 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.3431, allocations: 0 / 0.5527 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3434, allocations: 39.78 kB / 0.5527 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.3437, allocations: 95.59 kB / 0.5528 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3439, allocations: 79.66 kB / 0.5529 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3441, allocations: 111.6 kB / 0.553 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.3442, allocations: 8 kB / 0.553 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.3443, allocations: 51.78 kB / 0.5531 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3445, allocations: 43.83 kB / 0.5531 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3445, allocations: 7.938 kB / 0.5531 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3447, allocations: 115.9 kB / 0.5532 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.3448, allocations: 15.92 kB / 0.5533 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.3448, allocations: 39.78 kB / 0.5533 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3451, allocations: 167.9 kB / 0.5534 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3451, allocations: 0 / 0.5534 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3451, allocations: 0 / 0.5534 GB, free: 1.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3451, allocations: 4 kB / 0.5535 GB, free: 1.32 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.000591/0.3457, allocations: 430.5 kB / 0.5539 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.3457, allocations: 8.031 kB / 0.5539 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.3458, allocations: 12.84 kB / 0.5539 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3461, allocations: 208.8 kB / 0.5541 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3461, allocations: 7.938 kB / 0.5541 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3461, allocations: 0 / 0.5541 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3463, allocations: 79.38 kB / 0.5542 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3463, allocations: 0 / 0.5542 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3463, allocations: 0 / 0.5542 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3463, allocations: 3.984 kB / 0.5542 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.3464, allocations: 27.86 kB / 0.5542 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3468, allocations: 280.9 kB / 0.5545 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3469, allocations: 58.67 kB / 0.5545 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.347, allocations: 16.86 kB / 0.5545 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.347, allocations: 7.938 kB / 0.5545 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3472, allocations: 67.38 kB / 0.5546 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.3472, allocations: 0 / 0.5546 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005736/0.3478, allocations: 173.3 kB / 0.5548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3478, allocations: 89.05 kB / 0.5549 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.348, allocations: 162.5 kB / 0.555 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.348, allocations: 29.69 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.3481, allocations: 92.14 kB / 0.5551 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.3481, allocations: 31.73 kB / 0.5552 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3482, allocations: 25.72 kB / 0.5552 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3483, allocations: 322.8 kB / 0.5555 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.3484, allocations: 23.98 kB / 0.5555 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.3485, allocations: 42.56 kB / 0.5556 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3486, allocations: 53.66 kB / 0.5556 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3486, allocations: 384 / 0.5556 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.3488, allocations: 109.5 kB / 0.5557 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3488, allocations: 4 kB / 0.5557 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3488, allocations: 4.062 kB / 0.5557 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3488, allocations: 11.94 kB / 0.5557 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.3489, allocations: 15.98 kB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3489, allocations: 3.938 kB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.3489, allocations: 4 kB / 0.5558 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3489, allocations: 0 / 0.5558 GB, free: 14.71 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.0001102/0.349, allocations: 125.8 kB / 0.5559 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3491, allocations: 7.953 kB / 0.5559 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3493, allocations: 118.5 kB / 0.556 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3493, allocations: 4 kB / 0.556 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3493, allocations: 3.938 kB / 0.556 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3493, allocations: 3.984 kB / 0.556 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.3498, allocations: 399.3 kB / 0.5564 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3498, allocations: 0 / 0.5564 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.3498, allocations: 11.94 kB / 0.5564 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3498, allocations: 192 / 0.5564 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3498, allocations: 4 kB / 0.5564 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3498, allocations: 7.969 kB / 0.5564 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3498, allocations: 0 / 0.5564 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3501, allocations: 200.3 kB / 0.5566 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.3501, allocations: 92.98 kB / 0.5567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3502, allocations: 0 / 0.5567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.3502, allocations: 8 kB / 0.5567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3503, allocations: 11.98 kB / 0.5567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3503, allocations: 4 kB / 0.5567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3504, allocations: 127.9 kB / 0.5568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3504, allocations: 0 / 0.5568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3507, allocations: 47.86 kB / 0.5569 GB, free: 13.44 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.001841/0.3525, allocations: 0.5402 MB / 0.5574 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.3527, allocations: 55.91 kB / 0.5575 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3527, allocations: 0 / 0.5575 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.3528, allocations: 27.92 kB / 0.5575 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3531, allocations: 31.91 kB / 0.5575 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3536, allocations: 210.9 kB / 0.5577 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3539, allocations: 0.6963 MB / 0.5584 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.251e-05/0.354, allocations: 25.09 kB / 0.5584 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.354, allocations: 23.42 kB / 0.5584 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.354, allocations: 0 / 0.5584 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.00558/0.3596, allocations: 2.384 MB / 0.5608 GB, free: 9.59 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches