Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 78.56 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 62.45 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003262/0.1204, allocations: 1.788 MB / 481.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1227, allocations: 1.592 MB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1228, allocations: 0 / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1231, allocations: 43.83 kB / 483.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.1235, allocations: 79.75 kB / 483.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1238, allocations: 71.8 kB / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.124, allocations: 99.7 kB / 483.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1241, allocations: 15.98 kB / 483.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1242, allocations: 47.78 kB / 483.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1244, allocations: 43.77 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1244, allocations: 12 kB / 483.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1246, allocations: 111.9 kB / 484.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.1247, allocations: 11.94 kB / 484.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.1248, allocations: 39.78 kB / 484.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.125, allocations: 135.9 kB / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.125, allocations: 0 / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.125, allocations: 0 / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.125, allocations: 0 / 484.2 MB, free: 1.527 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005866/0.1256, allocations: 415.1 kB / 484.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1257, allocations: 12.03 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.1257, allocations: 16.83 kB / 484.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.126, allocations: 208.7 kB / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.126, allocations: 3.938 kB / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.126, allocations: 0 / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1262, allocations: 75.27 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1262, allocations: 0 / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1262, allocations: 4 kB / 485 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1263, allocations: 4 kB / 485 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.1263, allocations: 19.98 kB / 485 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1267, allocations: 288.9 kB / 485.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1269, allocations: 58.62 kB / 485.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.127, allocations: 20.84 kB / 485.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.127, allocations: 8 kB / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1272, allocations: 67.33 kB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1272, allocations: 0 / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005164/0.1277, allocations: 173.1 kB / 485.6 MB, free: 4 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1278, allocations: 85.05 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.128, allocations: 165.5 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.128, allocations: 25.7 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.128, allocations: 104.1 kB / 486 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1281, allocations: 23.66 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1281, allocations: 25.7 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1282, allocations: 318.8 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1283, allocations: 19.98 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.1284, allocations: 46.5 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1285, allocations: 61.72 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1285, allocations: 384 / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.1287, allocations: 101.5 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1287, allocations: 6.344 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1287, allocations: 0 / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1287, allocations: 4 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1288, allocations: 19.98 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1288, allocations: 3.938 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.1289, allocations: 8.031 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1289, allocations: 4.156 kB / 486.6 MB, free: 14.93 MB / 366.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 9.552e-05/0.129, allocations: 125.8 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1291, allocations: 11.81 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.1291, allocations: 16.7 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1291, allocations: 4 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1291, allocations: 3.938 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1291, allocations: 7.922 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1296, allocations: 395.3 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1296, allocations: 0 / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1296, allocations: 11.94 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1296, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1296, allocations: 8 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1296, allocations: 0 / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1297, allocations: 0 / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1299, allocations: 200.3 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1299, allocations: 101.1 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.13, allocations: 0 / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1301, allocations: 7.938 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1301, allocations: 7.984 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1301, allocations: 8 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1302, allocations: 123.2 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1302, allocations: 0 / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1306, allocations: 51.98 kB / 487.6 MB, free: 13.76 MB / 366.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 (8): * Single equations (assignments): 6 * 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.001274/0.1318, allocations: 0.5321 MB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.132, allocations: 63.89 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.132, allocations: 4.062 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.1321, allocations: 31.94 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1325, allocations: 31.91 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1329, allocations: 252.5 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1332, allocations: 0.6963 MB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.1332, allocations: 19.42 kB / 489.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1332, allocations: 4 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004446/0.1377, allocations: 2.41 MB / 491.7 MB, free: 9.855 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches