Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001376/0.001376, allocations: 83.58 kB / 20.52 MB, free: 1.277 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.001606/0.001606, allocations: 171.2 kB / 23.77 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.452/1.452, allocations: 158.6 MB / 185.5 MB, free: 6.215 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.21/0.21, allocations: 32.38 MB / 270.1 MB, free: 2.691 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [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.003239/0.003239, allocations: 68.52 kB / 407.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1319, allocations: 61.05 MB / 468.9 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003791/0.1357, allocations: 1.876 MB / 470.7 MB, free: 6.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1372, allocations: 0.8115 MB / 471.5 MB, free: 5.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1373, allocations: 3.938 kB / 471.5 MB, free: 5.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1377, allocations: 47.77 kB / 471.6 MB, free: 5.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1379, allocations: 55.64 kB / 471.6 MB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1382, allocations: 103.7 kB / 471.7 MB, free: 5.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1385, allocations: 139.5 kB / 471.9 MB, free: 5.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1386, allocations: 25.66 kB / 471.9 MB, free: 5.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1387, allocations: 55.72 kB / 472 MB, free: 5.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1388, allocations: 47.72 kB / 472 MB, free: 5.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1388, allocations: 8 kB / 472 MB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1389, allocations: 47.97 kB / 472.1 MB, free: 5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.139, allocations: 23.92 kB / 472.1 MB, free: 4.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.1391, allocations: 47.67 kB / 472.1 MB, free: 4.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1394, allocations: 147.3 kB / 472.3 MB, free: 4.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1394, allocations: 3.984 kB / 472.3 MB, free: 4.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1394, allocations: 0 / 472.3 MB, free: 4.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1394, allocations: 0 / 472.3 MB, free: 4.781 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.0006944/0.1401, allocations: 411.1 kB / 472.7 MB, free: 4.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1401, allocations: 8.031 kB / 472.7 MB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.1402, allocations: 16.84 kB / 472.7 MB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1405, allocations: 170.7 kB / 472.9 MB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1405, allocations: 12.38 kB / 472.9 MB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1405, allocations: 8.125 kB / 472.9 MB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1408, allocations: 137.9 kB / 473 MB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1408, allocations: 3.938 kB / 473 MB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1408, allocations: 0 / 473 MB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1408, allocations: 4 kB / 473 MB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.141, allocations: 47.97 kB / 473.1 MB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.1417, allocations: 452.6 kB / 473.5 MB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.142, allocations: 86.66 kB / 473.6 MB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1421, allocations: 36.78 kB / 473.6 MB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1421, allocations: 0 / 473.6 MB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1423, allocations: 109.1 kB / 473.8 MB, free: 3.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1423, allocations: 0 / 473.8 MB, free: 3.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.1428, allocations: 149.5 kB / 473.9 MB, free: 3.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1428, allocations: 59.41 kB / 474 MB, free: 2.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1431, allocations: 187.6 kB / 474.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1431, allocations: 33.64 kB / 474.2 MB, free: 2.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1432, allocations: 120 kB / 474.3 MB, free: 2.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1432, allocations: 27.78 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.1433, allocations: 41.66 kB / 474.4 MB, free: 2.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1434, allocations: 322.8 kB / 474.7 MB, free: 2.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1435, allocations: 27.98 kB / 474.7 MB, free: 2.156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1437, allocations: 68.2 kB / 474.8 MB, free: 2.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1439, allocations: 104.5 kB / 474.9 MB, free: 1.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1439, allocations: 0 / 474.9 MB, free: 1.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002962/0.1442, allocations: 137.5 kB / 475 MB, free: 1.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1442, allocations: 4 kB / 475 MB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1442, allocations: 0 / 475 MB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1442, allocations: 4 kB / 475 MB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1443, allocations: 23.92 kB / 475 MB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1443, allocations: 11.92 kB / 475 MB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.1444, allocations: 15.89 kB / 475.1 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1444, allocations: 8.125 kB / 475.1 MB, free: 1.75 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.0001343/0.1446, allocations: 129.8 kB / 475.2 MB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1446, allocations: 11.91 kB / 475.2 MB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.1449, allocations: 135 kB / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1449, allocations: 0 / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1449, allocations: 3.938 kB / 475.3 MB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1449, allocations: 0 / 475.3 MB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1451, allocations: 145.3 kB / 475.5 MB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1451, allocations: 0 / 475.5 MB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.1452, allocations: 23.92 kB / 475.5 MB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1452, allocations: 3.984 kB / 475.5 MB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1452, allocations: 0 / 475.5 MB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1452, allocations: 8 kB / 475.5 MB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1452, allocations: 0 / 475.5 MB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.1456, allocations: 201 kB / 475.7 MB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.1457, allocations: 15.84 kB / 475.7 MB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1457, allocations: 4 kB / 475.7 MB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1458, allocations: 7.984 kB / 475.7 MB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1458, allocations: 15.98 kB / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1458, allocations: 7.938 kB / 475.8 MB, free: 0.9922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.146, allocations: 149.1 kB / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.146, allocations: 0 / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1462, allocations: 24 kB / 475.9 MB, free: 0.8242 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.001662/0.1479, allocations: 435.2 kB / 476.4 MB, free: 416 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.1482, allocations: 84.02 kB / 476.4 MB, free: 332 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1482, allocations: 4.062 kB / 476.4 MB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1483, allocations: 35.97 kB / 476.5 MB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1486, allocations: 35.98 kB / 476.5 MB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2903/0.4389, allocations: 281 kB / 476.8 MB, free: 50.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4391, allocations: 101.4 kB / 476.9 MB, free: 50.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.4393, allocations: 17.06 kB / 476.9 MB, free: 50.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.4394, allocations: 19.12 kB / 476.9 MB, free: 50.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4394, allocations: 0 / 476.9 MB, free: 50.11 MB / 446.1 MB Notification: Performance of Templates: time 0.00831/0.4477, allocations: 2.027 MB / 479 MB, free: 50 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.266016482026316]