Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.00173/0.00173, allocations: 112.5 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.001918/0.001918, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.262 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.2314/0.2314, allocations: 44.91 MB / 359.6 MB, free: 6.383 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [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.002372/0.002372, allocations: 67.89 kB / 0.4944 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3379, allocations: 65.47 MB / 0.5583 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003231/0.3411, allocations: 1.749 MB / 0.56 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.343, allocations: 1.042 MB / 0.561 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.3431, allocations: 3.938 kB / 0.561 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.3434, allocations: 47.7 kB / 0.5611 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.3437, allocations: 99.59 kB / 0.5612 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3439, allocations: 79.66 kB / 0.5613 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3441, allocations: 99.7 kB / 0.5614 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3442, allocations: 11.98 kB / 0.5614 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3443, allocations: 51.72 kB / 0.5614 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.3444, allocations: 27.84 kB / 0.5614 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3444, allocations: 4 kB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.3445, allocations: 39.98 kB / 0.5615 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3446, allocations: 27.91 kB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.3447, allocations: 35.69 kB / 0.5615 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3449, allocations: 125.9 kB / 0.5617 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3449, allocations: 0 / 0.5617 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3449, allocations: 3.938 kB / 0.5617 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3449, allocations: 0 / 0.5617 GB, free: 4.309 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.000579/0.3455, allocations: 345.6 kB / 0.562 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3455, allocations: 8.031 kB / 0.562 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3456, allocations: 8.891 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.3458, allocations: 155 kB / 0.5622 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3459, allocations: 12.36 kB / 0.5622 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3459, allocations: 4.125 kB / 0.5622 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.346, allocations: 57.61 kB / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3461, allocations: 0 / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3461, allocations: 0 / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3461, allocations: 4 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3462, allocations: 19.98 kB / 0.5623 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.3466, allocations: 259.9 kB / 0.5625 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3468, allocations: 58.62 kB / 0.5626 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.3468, allocations: 20.84 kB / 0.5626 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3468, allocations: 0 / 0.5626 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.347, allocations: 67.39 kB / 0.5626 GB, free: 3.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.546e-06/0.347, allocations: 4 kB / 0.5626 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.3476, allocations: 177.3 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3476, allocations: 55.41 kB / 0.5629 GB, free: 2.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3478, allocations: 194.2 kB / 0.5631 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3479, allocations: 29.7 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.3479, allocations: 108.1 kB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.348, allocations: 31.77 kB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.348, allocations: 17.72 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3482, allocations: 334.8 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.3482, allocations: 23.92 kB / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.3483, allocations: 37.64 kB / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3484, allocations: 61.78 kB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3484, allocations: 0 / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3486, allocations: 101.5 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3487, allocations: 12.03 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3487, allocations: 0 / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3487, allocations: 0 / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.3488, allocations: 15.98 kB / 0.5638 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3488, allocations: 4 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.3488, allocations: 7.938 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3488, allocations: 4 kB / 0.5638 GB, free: 1.918 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.0001155/0.3489, allocations: 125.2 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.349, allocations: 27.88 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3492, allocations: 111.1 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3492, allocations: 3.984 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3492, allocations: 0 / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3492, allocations: 3.938 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3497, allocations: 358.4 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3497, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3497, allocations: 8 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3497, allocations: 7.969 kB / 0.5644 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3498, allocations: 16.3 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3498, allocations: 0 / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3498, allocations: 4 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.35, allocations: 200.3 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.35, allocations: 7.953 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3501, allocations: 15.88 kB / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.3501, allocations: 4 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3502, allocations: 7.984 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3502, allocations: 4 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3503, allocations: 152.2 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3503, allocations: 0 / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3506, allocations: 27.92 kB / 0.5648 GB, free: 0.7617 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.001735/0.3523, allocations: 475.5 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3525, allocations: 47.98 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3525, allocations: 0 / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3526, allocations: 27.92 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.353, allocations: 33.72 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.3535, allocations: 252.6 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3539, allocations: 0.708 MB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.3539, allocations: 23.31 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3539, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Templates: time 0.00425/0.3581, allocations: 1.963 MB / 0.5683 GB, free: 13.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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: 7.952955750981346]