Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009503/0.0009503, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009411/0.0009411, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9711/0.9711, allocations: 177.1 MB / 206 MB, free: 4.477 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.1511/0.1511, allocations: 34.25 MB / 296.8 MB, free: 13.92 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.432e-05, allocations: 2.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002288/0.002312, allocations: 1.739 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003384, allocations: 0.9936 MB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.003463, allocations: 3.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.003756, allocations: 39.81 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.004073, allocations: 107.4 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.004293, allocations: 87.59 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.004461, allocations: 111.6 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004563, allocations: 8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.004651, allocations: 47.89 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.004741, allocations: 27.91 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.00476, allocations: 4 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.00486, allocations: 51.84 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.004918, allocations: 23.92 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.004954, allocations: 15.94 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.005134, allocations: 107.5 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005137, allocations: 3.984 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.005138, allocations: 4 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.005144, allocations: 0 / 382.7 MB, free: 19.93 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.0004271/0.005571, allocations: 467.7 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.005612, allocations: 8.031 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.005658, allocations: 24.84 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.005819, allocations: 153.2 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.005841, allocations: 4.375 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.005861, allocations: 4.312 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.005986, allocations: 62.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.005999, allocations: 7.922 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.006007, allocations: 4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006014, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.006044, allocations: 15.92 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.006324, allocations: 260.4 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.006428, allocations: 51.09 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.006452, allocations: 19.67 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.006468, allocations: 4 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.266e-05/0.006561, allocations: 60.98 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.006563, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003302/0.006893, allocations: 141.4 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.00692, allocations: 51.41 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.007024, allocations: 256.9 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.007032, allocations: 33.7 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.007072, allocations: 154.8 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.007095, allocations: 23.84 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.007127, allocations: 31.36 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.007179, allocations: 0.5039 MB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.007197, allocations: 7.984 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.007221, allocations: 35.36 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.007259, allocations: 43.42 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.00726, allocations: 0 / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.345e-05/0.007354, allocations: 97.45 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007365, allocations: 4 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00737, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.00738, allocations: 4 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.007445, allocations: 16.36 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.007449, allocations: 3.938 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.007479, allocations: 12.03 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.007485, allocations: 4 kB / 385.3 MB, free: 17.18 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 5.464e-05/0.00754, allocations: 160.6 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.007557, allocations: 23.83 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007685, allocations: 95.08 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007687, allocations: 4 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.007689, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007694, allocations: 3.984 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.007907, allocations: 369.5 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007909, allocations: 4.031 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.007937, allocations: 11.98 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.00794, allocations: 7.938 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.007946, allocations: 4 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007948, allocations: 0 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007949, allocations: 0 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.008051, allocations: 255.7 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.008063, allocations: 7.953 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.008079, allocations: 4 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.008122, allocations: 4 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.008146, allocations: 7.984 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.008159, allocations: 8 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.008208, allocations: 175.1 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.008208, allocations: 3.938 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00018/0.008388, allocations: 27.98 kB / 386.4 MB, free: 15.94 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.0008931/0.009281, allocations: 435.5 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.009381, allocations: 43.55 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009383, allocations: 4 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.009413, allocations: 31.72 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.009646, allocations: 50.17 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.009923, allocations: 241.4 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.009954, allocations: 75.33 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.009987, allocations: 12.97 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.01004, allocations: 86.19 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01004, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003584/0.01363, allocations: 2.068 MB / 389.5 MB, free: 13.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.2438463759608567]