Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001674/0.001674, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002338/0.002338, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.63/1.63, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 69.61 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 65.48 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003551/0.3298, allocations: 1.745 MB / 0.56 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3317, allocations: 1.041 MB / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.3318, allocations: 4 kB / 0.561 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3321, allocations: 47.75 kB / 0.5611 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.3324, allocations: 91.59 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3326, allocations: 79.62 kB / 0.5613 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3328, allocations: 111.7 kB / 0.5614 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.3329, allocations: 4 kB / 0.5614 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.333, allocations: 47.78 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.3331, allocations: 35.78 kB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3331, allocations: 4 kB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3332, allocations: 39.98 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3333, allocations: 27.86 kB / 0.5615 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.3333, allocations: 39.73 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3335, allocations: 117.9 kB / 0.5617 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3335, allocations: 0 / 0.5617 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3335, allocations: 4 kB / 0.5617 GB, free: 4.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3336, allocations: 0 / 0.5617 GB, free: 4.246 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.0006168/0.3342, allocations: 349.5 kB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3342, allocations: 12.03 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3343, allocations: 8.891 kB / 0.562 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3346, allocations: 159 kB / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3346, allocations: 4.375 kB / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3346, allocations: 8.125 kB / 0.5622 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3348, allocations: 53.67 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3348, allocations: 0 / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3348, allocations: 3.984 kB / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3348, allocations: 0 / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.3349, allocations: 19.98 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.3353, allocations: 271.9 kB / 0.5625 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3355, allocations: 54.61 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.3355, allocations: 20.84 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3355, allocations: 0 / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.3357, allocations: 71.39 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3357, allocations: 0 / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.3362, allocations: 173.3 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3363, allocations: 55.41 kB / 0.5629 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3365, allocations: 194.3 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3365, allocations: 29.7 kB / 0.5631 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3366, allocations: 108.1 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3366, allocations: 23.8 kB / 0.5632 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.3367, allocations: 29.7 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3368, allocations: 334.6 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.3369, allocations: 20 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.337, allocations: 33.7 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3371, allocations: 57.7 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3371, allocations: 0 / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.3373, allocations: 113.6 kB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.3374, allocations: 4 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3374, allocations: 3.984 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3374, allocations: 4 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.3375, allocations: 12 kB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3375, allocations: 0 / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3375, allocations: 15.88 kB / 0.5638 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3375, allocations: 0 / 0.5638 GB, free: 1.848 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.000108/0.3376, allocations: 125.9 kB / 0.5639 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3377, allocations: 16.28 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.338, allocations: 111.1 kB / 0.5641 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.338, allocations: 4 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.338, allocations: 0 / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.338, allocations: 7.938 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.3385, allocations: 366.4 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3385, allocations: 0 / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.3385, allocations: 15.97 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3385, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3385, allocations: 7.938 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3385, allocations: 0 / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3385, allocations: 0 / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3388, allocations: 200.3 kB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.3388, allocations: 11.94 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3388, allocations: 11.94 kB / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.3389, allocations: 4 kB / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3389, allocations: 11.92 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3389, allocations: 4 kB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3391, allocations: 156.2 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3391, allocations: 0 / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3393, allocations: 23.94 kB / 0.5648 GB, free: 0.6953 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.001749/0.3411, allocations: 470.5 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3413, allocations: 59.89 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3413, allocations: 0 / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.3414, allocations: 23.98 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3417, allocations: 36.09 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.3423, allocations: 260.3 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3427, allocations: 0.708 MB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.3427, allocations: 15.44 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3427, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Templates: time 0.004246/0.347, allocations: 1.957 MB / 0.5683 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.068259346997365]