Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001363/0.001363, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001772/0.001772, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.574/1.574, allocations: 230.6 MB / 258.2 MB, free: 8.059 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.2323/0.2323, allocations: 44.91 MB / 359.6 MB, free: 6.328 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [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.002511/0.002511, allocations: 67.83 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3307, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003455/0.3341, allocations: 1.771 MB / 0.5601 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.336, allocations: 1.057 MB / 0.5611 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.336, allocations: 0 / 0.5611 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.3364, allocations: 87.69 kB / 0.5612 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.3368, allocations: 127.5 kB / 0.5613 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.337, allocations: 75.73 kB / 0.5614 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3372, allocations: 123.6 kB / 0.5615 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3373, allocations: 15.97 kB / 0.5615 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3374, allocations: 55.77 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3376, allocations: 79.73 kB / 0.5616 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3376, allocations: 4 kB / 0.5616 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3377, allocations: 63.97 kB / 0.5617 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.3378, allocations: 23.86 kB / 0.5617 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.3378, allocations: 43.67 kB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3381, allocations: 145.8 kB / 0.5619 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3381, allocations: 0 / 0.5619 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3381, allocations: 0 / 0.5619 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.3381, allocations: 4 kB / 0.5619 GB, free: 4.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006164/0.3387, allocations: 369.3 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3387, allocations: 12.03 kB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3388, allocations: 12.84 kB / 0.5623 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3391, allocations: 171 kB / 0.5624 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3391, allocations: 384 / 0.5624 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3391, allocations: 16.06 kB / 0.5624 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3393, allocations: 57.67 kB / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3393, allocations: 0 / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3393, allocations: 0 / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3393, allocations: 4 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.3394, allocations: 19.98 kB / 0.5625 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.3398, allocations: 287.8 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3401, allocations: 54.55 kB / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.3401, allocations: 20.97 kB / 0.5629 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3402, allocations: 4 kB / 0.5629 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.3403, allocations: 71.33 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3403, allocations: 0 / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007866/0.3411, allocations: 249.3 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3411, allocations: 55.34 kB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3414, allocations: 238.9 kB / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3414, allocations: 33.7 kB / 0.5635 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.3415, allocations: 116.1 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.3416, allocations: 35.73 kB / 0.5636 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3416, allocations: 25.72 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3418, allocations: 326.8 kB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.3418, allocations: 28 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.3419, allocations: 45.69 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3421, allocations: 89.64 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3421, allocations: 0 / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002363/0.3423, allocations: 125.5 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3423, allocations: 4 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3423, allocations: 4 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3423, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3425, allocations: 19.98 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3425, allocations: 7.969 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3425, allocations: 8 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3426, allocations: 4 kB / 0.5643 GB, free: 1.406 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 (13): * Single equations (assignments): 13 * 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.0001185/0.3427, allocations: 129.8 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3427, allocations: 19.84 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.343, allocations: 151.6 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3431, allocations: 4 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3431, allocations: 3.938 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3431, allocations: 0 / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.3436, allocations: 431.1 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3436, allocations: 0 / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.3437, allocations: 12 kB / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3437, allocations: 0 / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3437, allocations: 7.984 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3437, allocations: 0 / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3437, allocations: 0 / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.344, allocations: 245 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.344, allocations: 12 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3441, allocations: 11.92 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.3441, allocations: 4 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3442, allocations: 7.984 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3442, allocations: 8 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3444, allocations: 175.2 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3444, allocations: 4 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3446, allocations: 27.94 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001995/0.3466, allocations: 0.5101 MB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3468, allocations: 75.91 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3469, allocations: 4.062 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.3469, allocations: 35.92 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3473, allocations: 35.67 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.3479, allocations: 310.1 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3483, allocations: 0.7198 MB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.3483, allocations: 23.42 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3483, allocations: 0 / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004528/0.3529, allocations: 2.278 MB / 0.5694 GB, free: 12.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.025268459925428]