Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00106/0.00106, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.39 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.0042/0.1352, allocations: 1.715 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.137, allocations: 0.8846 MB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1373, allocations: 8 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.1378, allocations: 95.67 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1383, allocations: 95.62 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1386, allocations: 107.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.1389, allocations: 115.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.139, allocations: 19.98 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1391, allocations: 55.77 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1393, allocations: 59.81 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1393, allocations: 7.938 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1395, allocations: 55.98 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.1396, allocations: 31.84 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1396, allocations: 43.67 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1399, allocations: 131.9 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1399, allocations: 4 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1399, allocations: 7.938 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.14, allocations: 0 / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006058/0.1406, allocations: 437.6 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1406, allocations: 8.031 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.1407, allocations: 8.844 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.141, allocations: 232.6 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.141, allocations: 384 / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.141, allocations: 12.12 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1412, allocations: 61.66 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1412, allocations: 0 / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1413, allocations: 4 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1413, allocations: 0 / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.1414, allocations: 23.97 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1418, allocations: 308.7 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1421, allocations: 66.55 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.1421, allocations: 24.97 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1422, allocations: 0 / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1424, allocations: 67.39 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1425, allocations: 0 / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008077/0.1433, allocations: 261.1 kB / 474.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1433, allocations: 59.34 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1436, allocations: 238.3 kB / 474.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1436, allocations: 25.7 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.1437, allocations: 112.1 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.1437, allocations: 31.55 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.1438, allocations: 25.72 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1439, allocations: 330.8 kB / 475 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.144, allocations: 28 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.1441, allocations: 53.19 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1442, allocations: 73.66 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1442, allocations: 3.938 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000221/0.1445, allocations: 129.4 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1445, allocations: 8.031 kB / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1445, allocations: 0 / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1445, allocations: 0 / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.1446, allocations: 27.92 kB / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1446, allocations: 3.938 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1447, allocations: 4 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1447, allocations: 4 kB / 475.3 MB, free: 8.09 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001093/0.1448, allocations: 136.8 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1448, allocations: 19.8 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.1449, allocations: 25.41 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1449, allocations: 0 / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1449, allocations: 3.938 kB / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1449, allocations: 0 / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.1455, allocations: 455.9 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1455, allocations: 0 / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.1455, allocations: 23.98 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1456, allocations: 8 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1456, allocations: 0 / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1456, allocations: 4 kB / 476 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1456, allocations: 4 kB / 476 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1459, allocations: 229 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1459, allocations: 92.92 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.146, allocations: 11.94 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.146, allocations: 0 / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1461, allocations: 7.984 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1461, allocations: 15.98 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1463, allocations: 180.3 kB / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1463, allocations: 0 / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1465, allocations: 28 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001204/0.1478, allocations: 0.5089 MB / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.148, allocations: 79.91 kB / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.148, allocations: 4 kB / 477.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.1481, allocations: 43.86 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1485, allocations: 35.91 kB / 477.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.1491, allocations: 296.7 kB / 477.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1494, allocations: 0.731 MB / 478.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.1495, allocations: 16.66 kB / 478.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1496, allocations: 27.42 kB / 478.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1496, allocations: 0 / 478.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of Templates: time 0.005498/0.1551, allocations: 1.96 MB / 480.2 MB, free: 3.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches