Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.002046/0.002046, allocations: 75.75 kB / 20.51 MB, free: 1.27 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.002446/0.002446, allocations: 157.3 kB / 23.75 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.461/1.461, allocations: 158.6 MB / 185.5 MB, free: 6.227 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.213/0.213, 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [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.002411/0.002411, allocations: 71.91 kB / 407.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1304, allocations: 61.04 MB / 468.9 MB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003632/0.134, allocations: 1.884 MB / 470.7 MB, free: 6.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1356, allocations: 0.8037 MB / 471.5 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1356, allocations: 4 kB / 471.5 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.136, allocations: 47.69 kB / 471.6 MB, free: 5.492 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1362, allocations: 55.64 kB / 471.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1365, allocations: 107.8 kB / 471.7 MB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1367, allocations: 139.5 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1368, allocations: 21.67 kB / 471.9 MB, free: 5.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1369, allocations: 59.77 kB / 472 MB, free: 5.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.137, allocations: 47.66 kB / 472 MB, free: 5.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1371, allocations: 8 kB / 472 MB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.1372, allocations: 43.98 kB / 472.1 MB, free: 5.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1372, allocations: 31.84 kB / 472.1 MB, free: 4.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1373, allocations: 39.73 kB / 472.1 MB, free: 4.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1376, allocations: 143.3 kB / 472.3 MB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1376, allocations: 8 kB / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1376, allocations: 0 / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1376, allocations: 0 / 472.3 MB, free: 4.797 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006792/0.1382, allocations: 415 kB / 472.7 MB, free: 4.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.1383, allocations: 8.031 kB / 472.7 MB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.1383, allocations: 20.84 kB / 472.7 MB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1387, allocations: 166.7 kB / 472.9 MB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1387, allocations: 8.375 kB / 472.9 MB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1387, allocations: 12.12 kB / 472.9 MB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.139, allocations: 137.9 kB / 473 MB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.139, allocations: 0 / 473 MB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.139, allocations: 0 / 473 MB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.139, allocations: 4 kB / 473 MB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1392, allocations: 51.91 kB / 473.1 MB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.1398, allocations: 456.6 kB / 473.5 MB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1401, allocations: 82.67 kB / 473.6 MB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1402, allocations: 36.83 kB / 473.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1402, allocations: 4 kB / 473.7 MB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1404, allocations: 113 kB / 473.8 MB, free: 3.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1404, allocations: 0 / 473.8 MB, free: 3.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000419/0.1409, allocations: 149.5 kB / 473.9 MB, free: 3.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1409, allocations: 51.41 kB / 474 MB, free: 2.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1411, allocations: 195.6 kB / 474.1 MB, free: 2.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1411, allocations: 29.7 kB / 474.2 MB, free: 2.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1413, allocations: 116 kB / 474.3 MB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1413, allocations: 27.78 kB / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1414, allocations: 29.67 kB / 474.3 MB, free: 2.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1415, allocations: 330.8 kB / 474.7 MB, free: 2.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.1416, allocations: 27.98 kB / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1417, allocations: 64.27 kB / 474.8 MB, free: 2.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.142, allocations: 104.5 kB / 474.9 MB, free: 1.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.142, allocations: 0 / 474.9 MB, free: 1.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002989/0.1423, allocations: 137.5 kB / 475 MB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1423, allocations: 4 kB / 475 MB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1423, allocations: 4 kB / 475 MB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1423, allocations: 4.125 kB / 475 MB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1424, allocations: 31.92 kB / 475 MB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1424, allocations: 7.922 kB / 475 MB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1425, allocations: 15.89 kB / 475.1 MB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1425, allocations: 4 kB / 475.1 MB, free: 1.766 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000124/0.1426, allocations: 129.8 kB / 475.2 MB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1426, allocations: 11.91 kB / 475.2 MB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.1429, allocations: 135 kB / 475.3 MB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.143, allocations: 4 kB / 475.3 MB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.143, allocations: 3.938 kB / 475.3 MB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.143, allocations: 4 kB / 475.3 MB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1431, allocations: 145.3 kB / 475.5 MB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1431, allocations: 0 / 475.5 MB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.1432, allocations: 15.98 kB / 475.5 MB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1432, allocations: 0 / 475.5 MB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1432, allocations: 7.984 kB / 475.5 MB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1433, allocations: 4 kB / 475.5 MB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1433, allocations: 0 / 475.5 MB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1437, allocations: 205 kB / 475.7 MB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.1437, allocations: 15.88 kB / 475.7 MB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1437, allocations: 4 kB / 475.7 MB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1438, allocations: 7.984 kB / 475.7 MB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.1438, allocations: 11.92 kB / 475.8 MB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1439, allocations: 11.94 kB / 475.8 MB, free: 1.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.144, allocations: 145.1 kB / 475.9 MB, free: 0.8633 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.144, allocations: 0 / 475.9 MB, free: 0.8633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1443, allocations: 24 kB / 475.9 MB, free: 0.8398 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001664/0.1459, allocations: 447.2 kB / 476.4 MB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1462, allocations: 79.89 kB / 476.4 MB, free: 340 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1462, allocations: 0 / 476.4 MB, free: 340 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1463, allocations: 39.91 kB / 476.5 MB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1466, allocations: 39.58 kB / 476.5 MB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2143/0.3609, allocations: 277.5 kB / 476.8 MB, free: 50.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.361, allocations: 102.4 kB / 476.9 MB, free: 50.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.3611, allocations: 16.19 kB / 476.9 MB, free: 50.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.3612, allocations: 16.72 kB / 476.9 MB, free: 50.01 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3612, allocations: 0.75 kB / 476.9 MB, free: 50.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004815/0.366, allocations: 2.021 MB / 479 MB, free: 49.9 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.071692383964546]