Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001045, allocations: 108.8 kB / 17.33 MB, free: 6.023 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.001041/0.001041, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.395/1.395, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2167/0.2167, allocations: 44.18 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 62.81 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002981/0.1255, allocations: 1.772 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1268, allocations: 0.8692 MB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.1269, allocations: 4 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1272, allocations: 83.8 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1275, allocations: 71.73 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1278, allocations: 99.83 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.128, allocations: 111.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.1281, allocations: 15.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1282, allocations: 51.77 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1283, allocations: 75.69 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1283, allocations: 4 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1285, allocations: 59.98 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.1285, allocations: 27.91 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.1286, allocations: 35.73 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1289, allocations: 131.8 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1289, allocations: 4 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1289, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1289, allocations: 0 / 472.1 MB, free: 11.3 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.0006235/0.1295, allocations: 434.9 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1296, allocations: 12.03 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1296, allocations: 12.75 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1299, allocations: 212.6 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1299, allocations: 8.375 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.13, allocations: 12.05 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1301, allocations: 61.66 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1302, allocations: 3.906 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1302, allocations: 0 / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1302, allocations: 8 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.1303, allocations: 23.92 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1307, allocations: 300.8 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1309, allocations: 58.55 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.131, allocations: 24.97 kB / 473.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.131, allocations: 7.938 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1312, allocations: 71.45 kB / 473.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1312, allocations: 0 / 473.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007713/0.132, allocations: 233 kB / 473.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1321, allocations: 63.33 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1323, allocations: 222.7 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1323, allocations: 25.7 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1324, allocations: 124 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1324, allocations: 35.48 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1325, allocations: 29.7 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1327, allocations: 322.8 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.1327, allocations: 35.98 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1328, allocations: 45.64 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.133, allocations: 85.64 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.133, allocations: 0 / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002112/0.1332, allocations: 121.4 kB / 474.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1332, allocations: 14.95 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1332, allocations: 0 / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1333, allocations: 0 / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.1333, allocations: 20 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1334, allocations: 8.672 kB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1334, allocations: 7.984 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1334, allocations: 4 kB / 474.7 MB, free: 8.465 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.0001133/0.1335, allocations: 133.8 kB / 474.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.1336, allocations: 15.81 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1336, allocations: 25.34 kB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1336, allocations: 0 / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1337, allocations: 3.938 kB / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1337, allocations: 0 / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1342, allocations: 456 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1342, allocations: 0 / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1342, allocations: 15.98 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1342, allocations: 0 / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1343, allocations: 8 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1343, allocations: 0 / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1343, allocations: 4 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1345, allocations: 233 kB / 475.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1346, allocations: 89 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1346, allocations: 0 / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.1347, allocations: 8 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1348, allocations: 11.98 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1348, allocations: 7.938 kB / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1349, allocations: 172.4 kB / 475.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1349, allocations: 3.938 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1352, allocations: 35.89 kB / 475.9 MB, free: 7.156 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.001179/0.1364, allocations: 0.5112 MB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1366, allocations: 87.83 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1366, allocations: 4.062 kB / 476.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.1367, allocations: 43.92 kB / 476.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1371, allocations: 32.08 kB / 476.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.1376, allocations: 304.7 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1379, allocations: 0.7194 MB / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.138, allocations: 32.55 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.138, allocations: 19.42 kB / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.138, allocations: 0 / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.004889/0.1429, allocations: 1.923 MB / 479.6 MB, free: 3.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches