Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002574/0.1165, allocations: 1.629 MB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1188, allocations: 1.092 MB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.119, allocations: 7.938 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1195, allocations: 215.5 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.1201, allocations: 191.5 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1204, allocations: 99.78 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.1209, allocations: 247.2 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.121, allocations: 29.67 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.1213, allocations: 107.5 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1215, allocations: 151.4 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1216, allocations: 4 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1217, allocations: 63.95 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1219, allocations: 51.78 kB / 487 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.122, allocations: 117 kB / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1223, allocations: 227.3 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1224, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1224, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1224, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008172/0.1232, allocations: 0.5367 MB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1233, allocations: 8.031 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.1234, allocations: 28.56 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1238, allocations: 292 kB / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1238, allocations: 4.375 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.1238, allocations: 12.12 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1241, allocations: 107.3 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1242, allocations: 4 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1242, allocations: 0 / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1242, allocations: 7.984 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1244, allocations: 51.89 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.1252, allocations: 476.8 kB / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.1256, allocations: 121.2 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1257, allocations: 45.83 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1257, allocations: 0 / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.126, allocations: 133.1 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.1261, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001489/0.1276, allocations: 0.4998 MB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1276, allocations: 81.11 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.1282, allocations: 444.5 kB / 490.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1282, allocations: 33.69 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1283, allocations: 156.5 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.1284, allocations: 75.02 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1284, allocations: 21.7 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1286, allocations: 350.8 kB / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1287, allocations: 55.92 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1288, allocations: 95.39 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1291, allocations: 163.3 kB / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1291, allocations: 0 / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004097/0.1295, allocations: 233.3 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1296, allocations: 7.938 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1296, allocations: 4 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1296, allocations: 0 / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1297, allocations: 43.92 kB / 491.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1298, allocations: 4.062 kB / 491.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.345e-05/0.1299, allocations: 15.98 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1299, allocations: 8 kB / 491.3 MB, free: 11.57 MB / 366.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 (26): * Single equations (assignments): 26 * 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.0001602/0.13, allocations: 170.3 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.1301, allocations: 35.56 kB / 491.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1302, allocations: 39.75 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1302, allocations: 4 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1302, allocations: 0 / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1302, allocations: 7.984 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1313, allocations: 0.731 MB / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1313, allocations: 4.125 kB / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.1314, allocations: 36.17 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1314, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1315, allocations: 11.92 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1315, allocations: 7.938 kB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1315, allocations: 8 kB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.132, allocations: 420.7 kB / 492.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.1321, allocations: 112.7 kB / 492.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.1322, allocations: 11.98 kB / 492.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1323, allocations: 8 kB / 492.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.1324, allocations: 19.91 kB / 492.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.1324, allocations: 16 kB / 493 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.1328, allocations: 331 kB / 493.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.484e-06/0.1328, allocations: 0 / 493.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1332, allocations: 55.92 kB / 493.3 MB, free: 9.449 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.00131/0.1345, allocations: 0.4958 MB / 493.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.1349, allocations: 159.9 kB / 494 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1349, allocations: 3.938 kB / 494 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1351, allocations: 83.84 kB / 494.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.1357, allocations: 68.69 kB / 494.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.1367, allocations: 0.6328 MB / 494.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1371, allocations: 0.7716 MB / 495.6 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1372, allocations: 45.92 kB / 495.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1373, allocations: 31.42 kB / 495.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1373, allocations: 0 / 495.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006979/0.1443, allocations: 2.956 MB / 498.6 MB, free: 4.344 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches