Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.89 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003556/0.3619, allocations: 1.884 MB / 0.5637 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.3639, allocations: 1.073 MB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.364, allocations: 0 / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.3644, allocations: 163.5 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.3649, allocations: 187.2 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3651, allocations: 123.7 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.3655, allocations: 247.3 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3656, allocations: 17.97 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3658, allocations: 115.5 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.366, allocations: 143.5 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.366, allocations: 8 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3662, allocations: 67.92 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.3662, allocations: 59.75 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.3663, allocations: 59.55 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.3667, allocations: 233.4 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3667, allocations: 0 / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3667, allocations: 0 / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3667, allocations: 0 / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007589/0.3675, allocations: 480.6 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3675, allocations: 16.03 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.3676, allocations: 28.75 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.368, allocations: 214.5 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.368, allocations: 8.359 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.368, allocations: 12.12 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3683, allocations: 107.3 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3683, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3683, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3683, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3685, allocations: 59.89 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.369, allocations: 404.5 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.3694, allocations: 125.1 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3696, allocations: 41.83 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3696, allocations: 7.984 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.3698, allocations: 128.8 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3698, allocations: 4 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001413/0.3712, allocations: 0.4972 MB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.3713, allocations: 81.11 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.3718, allocations: 384.5 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3718, allocations: 33.7 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3719, allocations: 152.5 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.372, allocations: 71.38 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.3721, allocations: 41.7 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3722, allocations: 354.8 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3724, allocations: 59.91 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3725, allocations: 91.41 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.3728, allocations: 159.3 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3728, allocations: 0 / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004476/0.3733, allocations: 241.5 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3733, allocations: 8.062 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.3733, allocations: 3.938 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3733, allocations: 4 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3735, allocations: 47.92 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3735, allocations: 0 / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.3736, allocations: 11.98 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3736, allocations: 8 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001657/0.3738, allocations: 154.3 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.3739, allocations: 35.8 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.3744, allocations: 283.9 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3744, allocations: 0 / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3744, allocations: 0 / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3745, allocations: 7.984 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009769/0.3754, allocations: 0.6604 MB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3754, allocations: 0 / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3755, allocations: 36.17 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3755, allocations: 128 / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3756, allocations: 23.92 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3756, allocations: 0 / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3756, allocations: 7.938 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.3761, allocations: 435.4 kB / 0.5714 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.3762, allocations: 23.86 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.3762, allocations: 11.98 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3764, allocations: 8 kB / 0.5715 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3764, allocations: 27.84 kB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3765, allocations: 8 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3768, allocations: 291 kB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 4 kB / 0.5718 GB, free: 9.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3771, allocations: 51.89 kB / 0.5719 GB, free: 9.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002165/0.3793, allocations: 0.5546 MB / 0.5724 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3797, allocations: 151.8 kB / 0.5725 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.3797, allocations: 4 kB / 0.5725 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3799, allocations: 83.95 kB / 0.5726 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.3805, allocations: 67.64 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.3814, allocations: 0.5409 MB / 0.5732 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3816, allocations: 161.7 kB / 0.5734 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.3817, allocations: 27.44 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3817, allocations: 0 / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of Templates: time 0.00663/0.3883, allocations: 3.702 MB / 0.577 GB, free: 4.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.152798524009995]