Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001538/0.001538, allocations: 80.28 kB / 20.52 MB, free: 1.281 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.001503/0.001503, allocations: 167.3 kB / 23.76 MB, free: 4.465 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.476/1.476, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2108/0.2108, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 180] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [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.002377/0.002377, allocations: 67.91 kB / 407.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 61.05 MB / 468.9 MB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003525/0.1252, allocations: 1.688 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1268, allocations: 0.7648 MB / 471.3 MB, free: 5.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.1269, allocations: 4 kB / 471.3 MB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1272, allocations: 43.77 kB / 471.4 MB, free: 5.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1274, allocations: 51.77 kB / 471.4 MB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1277, allocations: 83.7 kB / 471.5 MB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1279, allocations: 95.75 kB / 471.6 MB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.128, allocations: 4.234 kB / 471.6 MB, free: 5.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.1281, allocations: 43.78 kB / 471.6 MB, free: 5.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.1282, allocations: 31.78 kB / 471.7 MB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1282, allocations: 4 kB / 471.7 MB, free: 5.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1284, allocations: 51.97 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1285, allocations: 23.81 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1285, allocations: 23.86 kB / 471.8 MB, free: 5.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1287, allocations: 107.6 kB / 471.9 MB, free: 5.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1287, allocations: 0 / 471.9 MB, free: 5.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1287, allocations: 0 / 471.9 MB, free: 5.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1287, allocations: 0 / 471.9 MB, free: 5.211 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.0006088/0.1294, allocations: 325.7 kB / 472.2 MB, free: 4.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1294, allocations: 12.03 kB / 472.2 MB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1294, allocations: 8.891 kB / 472.2 MB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1297, allocations: 150.9 kB / 472.4 MB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1297, allocations: 7.938 kB / 472.4 MB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1297, allocations: 4 kB / 472.4 MB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1299, allocations: 57.66 kB / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1299, allocations: 0 / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1299, allocations: 0 / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1299, allocations: 4 kB / 472.4 MB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.13, allocations: 19.98 kB / 472.4 MB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.1304, allocations: 228.5 kB / 472.7 MB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1305, allocations: 58.61 kB / 472.7 MB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.1306, allocations: 28.84 kB / 472.8 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1306, allocations: 0 / 472.8 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1308, allocations: 71.34 kB / 472.8 MB, free: 4.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1308, allocations: 0 / 472.8 MB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.1314, allocations: 165.4 kB / 473 MB, free: 3.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1314, allocations: 59.41 kB / 473 MB, free: 3.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1316, allocations: 170.2 kB / 473.2 MB, free: 3.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1316, allocations: 33.69 kB / 473.2 MB, free: 3.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1317, allocations: 100.1 kB / 473.3 MB, free: 3.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1318, allocations: 31.77 kB / 473.4 MB, free: 3.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1318, allocations: 25.66 kB / 473.4 MB, free: 3.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.132, allocations: 326.8 kB / 473.7 MB, free: 3.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.132, allocations: 19.98 kB / 473.7 MB, free: 3.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1321, allocations: 33.7 kB / 473.8 MB, free: 3.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1322, allocations: 65.77 kB / 473.8 MB, free: 3.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1322, allocations: 0 / 473.8 MB, free: 3.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002189/0.1325, allocations: 101.6 kB / 473.9 MB, free: 2.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1325, allocations: 8.219 kB / 473.9 MB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1325, allocations: 0 / 473.9 MB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1325, allocations: 7.922 kB / 473.9 MB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1326, allocations: 19.94 kB / 474 MB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1326, allocations: 3.938 kB / 474 MB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.1327, allocations: 4 kB / 474 MB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1327, allocations: 384 / 474 MB, free: 2.914 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.0001147/0.1328, allocations: 125.8 kB / 474.1 MB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1328, allocations: 7.953 kB / 474.1 MB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.1331, allocations: 126.3 kB / 474.2 MB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1331, allocations: 3.938 kB / 474.2 MB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1331, allocations: 8 kB / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1331, allocations: 0 / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.1336, allocations: 339 kB / 474.6 MB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1336, allocations: 0 / 474.6 MB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1336, allocations: 12 kB / 474.6 MB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.1336, allocations: 7.922 kB / 474.6 MB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1336, allocations: 0 / 474.6 MB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1336, allocations: 4 kB / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1336, allocations: 4.031 kB / 474.6 MB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1339, allocations: 208.3 kB / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.1339, allocations: 19.84 kB / 474.8 MB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1339, allocations: 4 kB / 474.8 MB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.134, allocations: 0 / 474.8 MB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1341, allocations: 7.984 kB / 474.8 MB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1341, allocations: 11.94 kB / 474.8 MB, free: 1.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1342, allocations: 127.2 kB / 475 MB, free: 1.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1342, allocations: 3.938 kB / 475 MB, free: 1.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1345, allocations: 23.94 kB / 475 MB, free: 1.816 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.001933/0.1364, allocations: 498.9 kB / 475.5 MB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1366, allocations: 67.91 kB / 475.6 MB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1366, allocations: 64 / 475.6 MB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.1367, allocations: 27.98 kB / 475.6 MB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.137, allocations: 27.92 kB / 475.6 MB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.1375, allocations: 210.6 kB / 475.8 MB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.1376, allocations: 87.25 kB / 475.9 MB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.1376, allocations: 16.55 kB / 475.9 MB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1376, allocations: 16.5 kB / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1376, allocations: 0 / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of Templates: time 0.2086/0.3463, allocations: 1.798 MB / 477.7 MB, free: 50.11 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.198893703985959]