Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 107.2 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 193.5 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.91 MB / 352.1 MB, free: 12.33 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.89 kB / 495.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 64.26 MB / 0.5468 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003218/0.3466, allocations: 1.719 MB / 0.5485 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3482, allocations: 0.875 MB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.3483, allocations: 1.094 kB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3486, allocations: 42.42 kB / 0.5494 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3488, allocations: 53.61 kB / 0.5495 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3491, allocations: 115.1 kB / 0.5496 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3493, allocations: 102.8 kB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.3494, allocations: 8.141 kB / 0.5497 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.3495, allocations: 43.72 kB / 0.5497 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.3496, allocations: 29.41 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3496, allocations: 4.156 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.3497, allocations: 43.45 kB / 0.5498 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.3497, allocations: 22.83 kB / 0.5498 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.3498, allocations: 38.67 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.35, allocations: 110.4 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.35, allocations: 0 / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.35, allocations: 1.312 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.35, allocations: 0 / 0.55 GB, free: 10.81 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.0005846/0.3506, allocations: 419.7 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3506, allocations: 9.406 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.3507, allocations: 9.016 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.351, allocations: 216.7 kB / 0.5506 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.351, allocations: 5.562 kB / 0.5506 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3511, allocations: 5.688 kB / 0.5506 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3512, allocations: 54.23 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3512, allocations: 1.625 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3512, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3512, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.3513, allocations: 19.48 kB / 0.5507 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3517, allocations: 293.8 kB / 0.551 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3519, allocations: 60.14 kB / 0.551 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.3519, allocations: 20.39 kB / 0.551 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3519, allocations: 2.062 kB / 0.551 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3521, allocations: 72.69 kB / 0.5511 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3521, allocations: 0 / 0.5511 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.3527, allocations: 168.9 kB / 0.5513 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3527, allocations: 52.59 kB / 0.5513 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3529, allocations: 188.8 kB / 0.5515 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3529, allocations: 25.7 kB / 0.5515 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.353, allocations: 101.5 kB / 0.5516 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.353, allocations: 23.89 kB / 0.5516 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3531, allocations: 36.23 kB / 0.5517 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3532, allocations: 326 kB / 0.552 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.3533, allocations: 23.25 kB / 0.552 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.3534, allocations: 38.64 kB / 0.552 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3535, allocations: 55.48 kB / 0.5521 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3535, allocations: 0 / 0.5521 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.3537, allocations: 115.6 kB / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3537, allocations: 8.281 kB / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3537, allocations: 0 / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3537, allocations: 1.406 kB / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.3538, allocations: 13.12 kB / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3538, allocations: 1.406 kB / 0.5522 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.3539, allocations: 9.453 kB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3539, allocations: 2.531 kB / 0.5522 GB, free: 8.656 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.0001078/0.354, allocations: 131.7 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.354, allocations: 17.47 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.3543, allocations: 106.8 kB / 0.5525 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3543, allocations: 1.188 kB / 0.5525 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3543, allocations: 0 / 0.5525 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3543, allocations: 3.938 kB / 0.5525 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.3548, allocations: 398.3 kB / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3548, allocations: 32 / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.3548, allocations: 16.09 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3548, allocations: 1.219 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3548, allocations: 9.5 kB / 0.5529 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3548, allocations: 1.062 kB / 0.5529 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3548, allocations: 1.406 kB / 0.5529 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3551, allocations: 195.4 kB / 0.5531 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3552, allocations: 96.66 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3552, allocations: 9.125 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.3552, allocations: 2.25 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3553, allocations: 7.453 kB / 0.5532 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3553, allocations: 7.391 kB / 0.5532 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3554, allocations: 145.3 kB / 0.5533 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3554, allocations: 3.938 kB / 0.5533 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3557, allocations: 24.92 kB / 0.5534 GB, free: 7.633 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.001664/0.3574, allocations: 471.6 kB / 0.5538 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3576, allocations: 56.19 kB / 0.5539 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3576, allocations: 0 / 0.5539 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.3576, allocations: 27.53 kB / 0.5539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.358, allocations: 31.25 kB / 0.5539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.3585, allocations: 256.6 kB / 0.5542 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3589, allocations: 0.704 MB / 0.5549 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.3589, allocations: 19.86 kB / 0.5549 GB, free: 6.414 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3589, allocations: 4.062 kB / 0.5549 GB, free: 6.41 MB / 398.1 MB Notification: Performance of Templates: time 0.004112/0.363, allocations: 1.91 MB / 0.5567 GB, free: 5.426 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches