Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001339/0.001339, allocations: 83.73 kB / 20.52 MB, free: 1.121 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.001438/0.001438, allocations: 164 kB / 23.76 MB, free: 4.203 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.5/1.5, allocations: 158.6 MB / 185.5 MB, free: 6.207 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.2364/0.2364, allocations: 32.37 MB / 270.1 MB, free: 2.703 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [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.002389/0.002389, allocations: 71.89 kB / 407.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1397, allocations: 61.04 MB / 468.9 MB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003434/0.1431, allocations: 1.68 MB / 470.5 MB, free: 6.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1446, allocations: 0.7687 MB / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.1447, allocations: 3.938 kB / 471.3 MB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.145, allocations: 87.77 kB / 471.4 MB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1453, allocations: 87.64 kB / 471.5 MB, free: 5.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1455, allocations: 75.78 kB / 471.6 MB, free: 5.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1457, allocations: 111.7 kB / 471.7 MB, free: 5.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.1458, allocations: 8.219 kB / 471.7 MB, free: 5.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1459, allocations: 55.77 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.146, allocations: 55.81 kB / 471.8 MB, free: 5.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.146, allocations: 11.88 kB / 471.8 MB, free: 5.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.766e-05/0.1461, allocations: 43.98 kB / 471.8 MB, free: 5.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1462, allocations: 23.92 kB / 471.9 MB, free: 5.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.1463, allocations: 27.8 kB / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1465, allocations: 119.4 kB / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1465, allocations: 0 / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1465, allocations: 0 / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1465, allocations: 0 / 472 MB, free: 5.086 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.0007331/0.1472, allocations: 345.6 kB / 472.3 MB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1473, allocations: 12.03 kB / 472.4 MB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.1474, allocations: 12.84 kB / 472.4 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1477, allocations: 154.8 kB / 472.5 MB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1477, allocations: 4.375 kB / 472.5 MB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1477, allocations: 12.08 kB / 472.5 MB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1479, allocations: 53.67 kB / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1479, allocations: 0 / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1479, allocations: 0 / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1479, allocations: 0 / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.148, allocations: 23.92 kB / 472.6 MB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1484, allocations: 236.5 kB / 472.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1486, allocations: 66.66 kB / 472.9 MB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.1487, allocations: 20.84 kB / 472.9 MB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1487, allocations: 4 kB / 472.9 MB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1489, allocations: 67.33 kB / 473 MB, free: 3.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1489, allocations: 0 / 473 MB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000629/0.1495, allocations: 185.3 kB / 473.2 MB, free: 3.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.1496, allocations: 55.41 kB / 473.2 MB, free: 3.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.1498, allocations: 218.2 kB / 473.4 MB, free: 3.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1499, allocations: 25.7 kB / 473.5 MB, free: 3.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.1499, allocations: 108.1 kB / 473.6 MB, free: 3.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.15, allocations: 23.8 kB / 473.6 MB, free: 3.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.15, allocations: 29.7 kB / 473.6 MB, free: 3.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1502, allocations: 326.8 kB / 473.9 MB, free: 2.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.1503, allocations: 23.98 kB / 474 MB, free: 2.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1503, allocations: 37.7 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1505, allocations: 57.72 kB / 474.1 MB, free: 2.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1505, allocations: 4.172 kB / 474.1 MB, free: 2.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.1507, allocations: 109.6 kB / 474.2 MB, free: 2.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1507, allocations: 11.94 kB / 474.2 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1507, allocations: 0 / 474.2 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1507, allocations: 0 / 474.2 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.1508, allocations: 19.92 kB / 474.2 MB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1508, allocations: 4 kB / 474.2 MB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.1509, allocations: 4 kB / 474.2 MB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1509, allocations: 4.375 kB / 474.2 MB, free: 2.688 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.0001198/0.151, allocations: 129.8 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.151, allocations: 11.91 kB / 474.4 MB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1513, allocations: 131.1 kB / 474.5 MB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1513, allocations: 0 / 474.5 MB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1513, allocations: 4 kB / 474.5 MB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1513, allocations: 3.984 kB / 474.5 MB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1518, allocations: 346.9 kB / 474.8 MB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1518, allocations: 0 / 474.8 MB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1518, allocations: 11.98 kB / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1518, allocations: 0 / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1519, allocations: 4 kB / 474.8 MB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1519, allocations: 3.938 kB / 474.8 MB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1519, allocations: 7.969 kB / 474.9 MB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1521, allocations: 216.2 kB / 475.1 MB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.1522, allocations: 11.94 kB / 475.1 MB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1522, allocations: 4 kB / 475.1 MB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1523, allocations: 0 / 475.1 MB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1523, allocations: 15.92 kB / 475.1 MB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1523, allocations: 7.938 kB / 475.1 MB, free: 1.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1525, allocations: 156.2 kB / 475.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1525, allocations: 0 / 475.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1527, allocations: 31.92 kB / 475.3 MB, free: 1.543 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.00188/0.1546, allocations: 490.9 kB / 475.8 MB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1548, allocations: 67.88 kB / 475.8 MB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1548, allocations: 4.062 kB / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.1549, allocations: 35.92 kB / 475.9 MB, free: 0.9648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1552, allocations: 19.98 kB / 475.9 MB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.1557, allocations: 254.7 kB / 476.1 MB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1559, allocations: 96.8 kB / 476.2 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.1559, allocations: 16.56 kB / 476.3 MB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1559, allocations: 20.48 kB / 476.3 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1559, allocations: 0 / 476.3 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of Templates: time 0.2598/0.4157, allocations: 1.792 MB / 478.1 MB, free: 49.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.377573675010353]