Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002214/0.002214, allocations: 80.83 kB / 20.51 MB, free: 1.273 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.002423/0.002423, allocations: 169.9 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002335/0.002335, allocations: 63.91 kB / 407.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1289, allocations: 61.05 MB / 468.9 MB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003637/0.1326, allocations: 1.68 MB / 470.5 MB, free: 6.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1342, allocations: 0.7882 MB / 471.3 MB, free: 5.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.1342, allocations: 0 / 471.3 MB, free: 5.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1346, allocations: 51.75 kB / 471.4 MB, free: 5.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1348, allocations: 55.77 kB / 471.4 MB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1351, allocations: 87.75 kB / 471.5 MB, free: 5.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1353, allocations: 91.77 kB / 471.6 MB, free: 5.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1354, allocations: 8.219 kB / 471.6 MB, free: 5.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1355, allocations: 35.8 kB / 471.6 MB, free: 5.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.1356, allocations: 39.72 kB / 471.7 MB, free: 5.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1356, allocations: 4 kB / 471.7 MB, free: 5.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1357, allocations: 47.92 kB / 471.7 MB, free: 5.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.1358, allocations: 27.91 kB / 471.8 MB, free: 5.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.1358, allocations: 27.8 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1361, allocations: 127.4 kB / 471.9 MB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1361, allocations: 0 / 471.9 MB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1361, allocations: 0 / 471.9 MB, free: 5.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1361, allocations: 3.938 kB / 471.9 MB, free: 5.176 MB / 446.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.0006043/0.1367, allocations: 349.5 kB / 472.3 MB, free: 4.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1367, allocations: 8.031 kB / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1368, allocations: 12.89 kB / 472.3 MB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1371, allocations: 154.3 kB / 472.4 MB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1371, allocations: 4.375 kB / 472.4 MB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1371, allocations: 8.125 kB / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1373, allocations: 61.66 kB / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1373, allocations: 0 / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1373, allocations: 0 / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1373, allocations: 0 / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.1374, allocations: 23.92 kB / 472.5 MB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1378, allocations: 240.5 kB / 472.8 MB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.138, allocations: 54.67 kB / 472.8 MB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1381, allocations: 16.86 kB / 472.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1381, allocations: 11.94 kB / 472.8 MB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1383, allocations: 67.38 kB / 472.9 MB, free: 4.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1383, allocations: 4 kB / 472.9 MB, free: 4.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.1388, allocations: 185.3 kB / 473.1 MB, free: 3.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1389, allocations: 51.41 kB / 473.1 MB, free: 3.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1391, allocations: 226.8 kB / 473.4 MB, free: 3.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1392, allocations: 29.7 kB / 473.4 MB, free: 3.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1392, allocations: 112.1 kB / 473.5 MB, free: 3.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1393, allocations: 23.84 kB / 473.5 MB, free: 3.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1393, allocations: 21.7 kB / 473.5 MB, free: 3.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1395, allocations: 334.8 kB / 473.9 MB, free: 3.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.1396, allocations: 19.98 kB / 473.9 MB, free: 3.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.1397, allocations: 37.7 kB / 473.9 MB, free: 2.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1398, allocations: 69.7 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1398, allocations: 0 / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.14, allocations: 105.7 kB / 474.1 MB, free: 2.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.14, allocations: 4 kB / 474.1 MB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.14, allocations: 3.938 kB / 474.1 MB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1401, allocations: 8.031 kB / 474.1 MB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.1402, allocations: 15.98 kB / 474.1 MB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1402, allocations: 0 / 474.1 MB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.1402, allocations: 7.938 kB / 474.1 MB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1402, allocations: 384 / 474.1 MB, free: 2.762 MB / 446.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.0001277/0.1403, allocations: 137.8 kB / 474.3 MB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1404, allocations: 11.91 kB / 474.3 MB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.1408, allocations: 123.1 kB / 474.4 MB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1408, allocations: 3.984 kB / 474.4 MB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1408, allocations: 8 kB / 474.4 MB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1408, allocations: 0 / 474.4 MB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1413, allocations: 346.9 kB / 474.8 MB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1413, allocations: 3.984 kB / 474.8 MB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1413, allocations: 15.94 kB / 474.8 MB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1413, allocations: 4 kB / 474.8 MB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1413, allocations: 0 / 474.8 MB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1413, allocations: 0 / 474.8 MB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1413, allocations: 3.938 kB / 474.8 MB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1416, allocations: 216.2 kB / 475 MB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.1417, allocations: 19.92 kB / 475 MB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1417, allocations: 8 kB / 475 MB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1418, allocations: 0 / 475 MB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.1418, allocations: 11.92 kB / 475 MB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1418, allocations: 8 kB / 475 MB, free: 1.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.142, allocations: 180.2 kB / 475.2 MB, free: 1.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 3.938 kB / 475.2 MB, free: 1.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1423, allocations: 24 kB / 475.2 MB, free: 1.586 MB / 446.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.001962/0.1443, allocations: 494.9 kB / 475.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1445, allocations: 67.91 kB / 475.8 MB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1445, allocations: 0 / 475.8 MB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.1445, allocations: 27.92 kB / 475.8 MB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1449, allocations: 36.09 kB / 475.9 MB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.1456, allocations: 259.2 kB / 476.1 MB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1457, allocations: 92.8 kB / 476.2 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.1457, allocations: 12.5 kB / 476.2 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1458, allocations: 24.48 kB / 476.2 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1458, allocations: 0 / 476.2 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of Templates: time 0.2209/0.3667, allocations: 1.798 MB / 478 MB, free: 49.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.227482540998608]