Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.0009292/0.0009292, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009549/0.0009549, allocations: 166.6 kB / 25.61 MB, free: 8.855 MB / 18.57 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 0.9226/0.9226, allocations: 177.1 MB / 206 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] 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.1525/0.1525, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.592e-05, allocations: 2.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004002/0.004027, allocations: 1.754 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.005512, allocations: 0.9897 MB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005637, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.005991, allocations: 39.77 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.006387, allocations: 103.4 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.006677, allocations: 83.59 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.006876, allocations: 107.7 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006978, allocations: 4 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.007083, allocations: 63.75 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.007176, allocations: 19.92 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.007194, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.007306, allocations: 47.92 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.007362, allocations: 23.91 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.007401, allocations: 23.88 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.007606, allocations: 107.6 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.00761, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007611, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.007615, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 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.000427/0.008042, allocations: 447.9 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.008087, allocations: 8.031 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.008133, allocations: 16.84 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.008303, allocations: 153.1 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.008321, allocations: 384 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.008341, allocations: 8.375 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.008461, allocations: 54.94 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.008475, allocations: 11.81 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.008485, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.008491, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.008526, allocations: 11.98 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.008794, allocations: 256.3 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.008905, allocations: 63.14 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.008934, allocations: 19.61 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.008948, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.009072, allocations: 68.98 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.009073, allocations: 0 / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004069/0.00948, allocations: 133.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.009507, allocations: 55.41 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.009633, allocations: 225.8 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.009646, allocations: 25.7 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.009695, allocations: 154.8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.009729, allocations: 27.78 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.009776, allocations: 35.34 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.009839, allocations: 0.4923 MB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.009867, allocations: 8 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.009902, allocations: 39.28 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/0.009964, allocations: 47.8 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009965, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001271/0.01009, allocations: 93.45 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01011, allocations: 4 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01011, allocations: 8.031 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01012, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.0102, allocations: 16 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.0102, allocations: 3.984 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.01025, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.01025, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 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 6.623e-05/0.01032, allocations: 164.5 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.01035, allocations: 19.84 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.01051, allocations: 95.12 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01051, allocations: 7.938 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01051, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01052, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.0108, allocations: 369.5 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0108, allocations: 0 / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.01084, allocations: 8 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01084, allocations: 0 / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01085, allocations: 4 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01085, allocations: 0 / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01085, allocations: 0 / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.011, allocations: 263.7 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.01102, allocations: 11.94 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01104, allocations: 0 / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.01111, allocations: 4 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.01114, allocations: 7.984 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.01115, allocations: 4 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.01122, allocations: 167.1 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01122, allocations: 0 / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.01152, allocations: 27.92 kB / 386.3 MB, free: 16.04 MB / 314.7 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 (9): * Single equations (assignments): 7 * 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.001282/0.0128, allocations: 440.2 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01293, allocations: 51.59 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01294, allocations: 0 / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.01298, allocations: 31.61 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.01333, allocations: 38.69 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.0137, allocations: 219.9 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.01374, allocations: 71.19 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.0138, allocations: 17.42 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.01387, allocations: 86.19 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01387, allocations: 3.938 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.004901/0.01877, allocations: 2.06 MB / 389.3 MB, free: 13.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.074886908289045]