Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 107.5 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 74.19 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1266, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003215/0.1298, allocations: 1.842 MB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1312, allocations: 0.8819 MB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1314, allocations: 7.938 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.1319, allocations: 259.4 kB / 445 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1323, allocations: 183.4 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1326, allocations: 147.2 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.1329, allocations: 243.3 kB / 445.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.133, allocations: 29.53 kB / 445.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1332, allocations: 123.6 kB / 445.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1333, allocations: 175.5 kB / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1334, allocations: 8 kB / 445.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1335, allocations: 43.98 kB / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.1336, allocations: 63.7 kB / 446 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.1337, allocations: 91.28 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1339, allocations: 219.2 kB / 446.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1339, allocations: 4 kB / 446.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1339, allocations: 4 kB / 446.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1339, allocations: 0 / 446.3 MB, free: 1.852 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006683/0.1346, allocations: 0.5562 MB / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1347, allocations: 15.89 kB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.1347, allocations: 28.56 kB / 446.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.1351, allocations: 288 kB / 447.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1351, allocations: 384 / 447.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.1352, allocations: 16.11 kB / 447.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1354, allocations: 99.3 kB / 447.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1354, allocations: 4 kB / 447.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1355, allocations: 4 kB / 447.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1355, allocations: 4 kB / 447.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1356, allocations: 35.97 kB / 447.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.136, allocations: 464.8 kB / 447.8 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1363, allocations: 113.3 kB / 447.9 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.1364, allocations: 45.7 kB / 447.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1364, allocations: 0 / 447.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1367, allocations: 117 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1367, allocations: 0 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008708/0.1375, allocations: 371.8 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1376, allocations: 85.05 kB / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.1381, allocations: 477.7 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1381, allocations: 33.7 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1382, allocations: 172.3 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1383, allocations: 51.31 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.1383, allocations: 33.72 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1385, allocations: 342.8 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.1386, allocations: 47.94 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1387, allocations: 72.55 kB / 449.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1389, allocations: 119.4 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1389, allocations: 3.984 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003005/0.1392, allocations: 185.1 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1392, allocations: 5.25 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1392, allocations: 0 / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1393, allocations: 12.05 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1394, allocations: 31.92 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1394, allocations: 7.938 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.1395, allocations: 8.75 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1395, allocations: 4 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001759/0.1397, allocations: 169.8 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.1398, allocations: 31.61 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.1399, allocations: 38.81 kB / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1399, allocations: 8 kB / 450.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1399, allocations: 3.938 kB / 450.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1399, allocations: 4 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/0.1407, allocations: 0.6284 MB / 450.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1408, allocations: 0 / 450.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1408, allocations: 23.92 kB / 451 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1408, allocations: 4 kB / 451 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1409, allocations: 12.06 kB / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1409, allocations: 0 / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1409, allocations: 80 / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.1413, allocations: 383.3 kB / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.1414, allocations: 100.7 kB / 451.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1415, allocations: 15.97 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1416, allocations: 4 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.1417, allocations: 15.98 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.1417, allocations: 11.98 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003556/0.1421, allocations: 355.1 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1421, allocations: 0 / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.1424, allocations: 39.98 kB / 451.9 MB, free: 11.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001171/0.1436, allocations: 467.8 kB / 452.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.144, allocations: 119.8 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.144, allocations: 4.125 kB / 452.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1441, allocations: 59.91 kB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.1446, allocations: 59.31 kB / 452.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.1456, allocations: 0.5303 MB / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.1465, allocations: 0.7671 MB / 453.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.1466, allocations: 34.56 kB / 453.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.1466, allocations: 31.42 kB / 453.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1467, allocations: 0 / 453.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Templates: time 0.006815/0.1535, allocations: 2.739 MB / 456.7 MB, free: 7.094 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches