Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001365/0.001365, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001434/0.001434, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.505/1.505, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.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.2233/0.2233, allocations: 34.28 MB / 295 MB, free: 14.59 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.508e-05, allocations: 2.281 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00405/0.004085, allocations: 1.72 MB / 444.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.006577, allocations: 0.9742 MB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.006741, allocations: 7.938 kB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.007203, allocations: 39.83 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.007778, allocations: 107.5 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.0081, allocations: 79.59 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.008367, allocations: 119.5 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.008496, allocations: 4 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.008653, allocations: 55.83 kB / 445.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.008759, allocations: 23.91 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.008787, allocations: 4 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.008922, allocations: 43.92 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.009009, allocations: 31.86 kB / 446 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.00907, allocations: 23.91 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.009388, allocations: 135.5 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.009392, allocations: 4 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009393, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.009405, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.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.0007741/0.01018, allocations: 373.3 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.01023, allocations: 12.03 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.01029, allocations: 12.84 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.01061, allocations: 162.5 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.01063, allocations: 4.375 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.01066, allocations: 8.312 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.01086, allocations: 58.17 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01088, allocations: 7.938 kB / 446.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.01089, allocations: 0 / 446.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.0109, allocations: 4 kB / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.01099, allocations: 15.98 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.01145, allocations: 244.6 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.01165, allocations: 54.61 kB / 447.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.01172, allocations: 24.8 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.01173, allocations: 0 / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.01192, allocations: 83.3 kB / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.01192, allocations: 0 / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006702/0.01259, allocations: 201.4 kB / 447.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.01264, allocations: 55.41 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.01295, allocations: 267 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.01298, allocations: 33.7 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.01307, allocations: 116.1 kB / 447.8 MB, free: 100 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.01312, allocations: 23.78 kB / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.01316, allocations: 21.72 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2256/0.2388, allocations: 326.1 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2389, allocations: 23.67 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.239, allocations: 38.7 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2392, allocations: 65.52 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2392, allocations: 0 / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000266/0.2394, allocations: 107.5 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2394, allocations: 5.625 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2395, allocations: 0.75 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2395, allocations: 1.125 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2396, allocations: 18.5 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2396, allocations: 5.438 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.2397, allocations: 5.859 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2397, allocations: 7.281 kB / 448.5 MB, free: 18.98 MB / 366.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.0001086/0.2398, allocations: 132.8 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2398, allocations: 17.14 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.2401, allocations: 130.3 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2401, allocations: 1.781 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2401, allocations: 4.969 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2401, allocations: 0.7969 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.2406, allocations: 359.7 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2406, allocations: 0 / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.2406, allocations: 17.03 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2406, allocations: 1.609 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2406, allocations: 6.719 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2406, allocations: 1.094 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2407, allocations: 1.75 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2409, allocations: 218.8 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.2409, allocations: 16.77 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2409, allocations: 10.55 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.241, allocations: 6.984 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2411, allocations: 5.5 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2411, allocations: 4.141 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.2413, allocations: 209.8 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2413, allocations: 0 / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.2416, allocations: 27.25 kB / 449.6 MB, free: 18.36 MB / 366.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 (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.001871/0.2434, allocations: 494.5 kB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2436, allocations: 59.78 kB / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2436, allocations: 5.188 kB / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.2437, allocations: 36.33 kB / 450.2 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2441, allocations: 27.17 kB / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.2447, allocations: 296.7 kB / 450.5 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2448, allocations: 114.1 kB / 450.6 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.2449, allocations: 17.84 kB / 450.6 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.2449, allocations: 16.55 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2449, allocations: 0 / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of Templates: time 0.006042/0.2509, allocations: 1.871 MB / 452.5 MB, free: 17.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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: 5.083160489797592]