Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001815/0.001815, allocations: 85.36 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.001789/0.001789, allocations: 164.8 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.598/1.598, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.2376/0.2376, allocations: 34.27 MB / 294.9 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 179] 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.927e-05/4.156e-05, allocations: 2.281 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003803/0.003844, allocations: 1.723 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005927, allocations: 0.9742 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.006033, allocations: 3.938 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.006398, allocations: 35.83 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.006774, allocations: 99.47 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.007018, allocations: 79.55 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.00727, allocations: 111.6 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.007405, allocations: 11.98 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.007539, allocations: 47.84 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.007638, allocations: 27.91 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.007668, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.00778, allocations: 39.98 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.007862, allocations: 23.91 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.007916, allocations: 19.92 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.008176, allocations: 123.5 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.008181, allocations: 0 / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008182, allocations: 0 / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.008189, allocations: 0 / 446.1 MB, free: 1.98 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.0006569/0.008846, allocations: 345.6 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.008893, allocations: 12.03 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.008952, allocations: 12.84 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.009223, allocations: 154.3 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.009238, allocations: 384 / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.009266, allocations: 8.312 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.009446, allocations: 62.16 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.009462, allocations: 3.938 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.009482, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.009487, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.009574, allocations: 27.98 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.009997, allocations: 228.6 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.0102, allocations: 66.55 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.01027, allocations: 20.8 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01029, allocations: 3.984 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.01046, allocations: 71.38 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.01046, allocations: 0 / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006165/0.01108, allocations: 197.5 kB / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.01113, allocations: 55.41 kB / 447.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.01135, allocations: 202.2 kB / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.01137, allocations: 25.7 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.01145, allocations: 104.1 kB / 447.6 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.01149, allocations: 23.8 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.01153, allocations: 25.7 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2452/0.2567, allocations: 322.8 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2569, allocations: 19.88 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.257, allocations: 40.19 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2571, allocations: 61.86 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2571, allocations: 0 / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002862/0.2574, allocations: 100.9 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2574, allocations: 9.594 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2575, allocations: 1.375 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.2575, allocations: 1.188 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2576, allocations: 17.81 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2576, allocations: 5.156 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.2577, allocations: 5.062 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2577, allocations: 3.516 kB / 448.3 MB, free: 19 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.0001102/0.2578, allocations: 124.2 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.2578, allocations: 13.12 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.2581, allocations: 127.8 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2581, allocations: 1.344 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2581, allocations: 4.547 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2581, allocations: 0.6094 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.2585, allocations: 346.7 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2585, allocations: 5.156 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.2586, allocations: 14.5 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2586, allocations: 0 / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2586, allocations: 10.95 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2586, allocations: 2.625 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2586, allocations: 1.859 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.2588, allocations: 213.2 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.2588, allocations: 11.19 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2589, allocations: 7.062 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.2589, allocations: 3.75 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.259, allocations: 13.3 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.259, allocations: 4.094 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2591, allocations: 151 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2591, allocations: 0 / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.2594, allocations: 25.5 kB / 449.3 MB, free: 18.38 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.001848/0.2612, allocations: 0.4899 MB / 449.8 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2614, allocations: 59.17 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2614, allocations: 3.938 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.2615, allocations: 34.05 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.2619, allocations: 32.38 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.2625, allocations: 237 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.2625, allocations: 99.11 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.2626, allocations: 16.52 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.2626, allocations: 17.67 kB / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2626, allocations: 0 / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005918/0.2686, allocations: 1.844 MB / 452.1 MB, free: 17.71 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.251540385186672]