Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 213.7 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.1 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 46.12 MB / 344.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 84.34 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 62.44 MB / 480.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003219/0.1195, allocations: 1.789 MB / 482 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1212, allocations: 1.01 MB / 483 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.1213, allocations: 3.938 kB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1216, allocations: 51.88 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.122, allocations: 79.75 kB / 483.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1221, allocations: 67.81 kB / 483.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1223, allocations: 111.7 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.1224, allocations: 4 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.1225, allocations: 51.77 kB / 483.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.1226, allocations: 35.73 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1226, allocations: 4 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.1227, allocations: 43.97 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1228, allocations: 35.91 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.1229, allocations: 35.69 kB / 483.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1231, allocations: 112 kB / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1231, allocations: 0 / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1231, allocations: 0 / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1231, allocations: 3.938 kB / 483.7 MB, free: 2.098 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.0005911/0.1237, allocations: 442.7 kB / 484.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1237, allocations: 8.031 kB / 484.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1238, allocations: 12.84 kB / 484.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.124, allocations: 220.9 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.124, allocations: 8.375 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1241, allocations: 4.125 kB / 484.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1242, allocations: 53.67 kB / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1243, allocations: 0 / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1243, allocations: 4 kB / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1243, allocations: 7.922 kB / 484.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.1244, allocations: 12 kB / 484.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1248, allocations: 304.8 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1249, allocations: 62.66 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.125, allocations: 20.8 kB / 484.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.125, allocations: 3.984 kB / 484.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1252, allocations: 79.38 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1253, allocations: 3.938 kB / 484.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.1258, allocations: 185 kB / 485.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1259, allocations: 55.39 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1261, allocations: 267 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1262, allocations: 29.7 kB / 485.4 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1262, allocations: 112.1 kB / 485.5 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1263, allocations: 19.72 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.1263, allocations: 29.7 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1265, allocations: 330.8 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1266, allocations: 19.98 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.1266, allocations: 37.7 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1268, allocations: 61.64 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1268, allocations: 4 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.127, allocations: 105.4 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.127, allocations: 6.656 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.127, allocations: 0 / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.127, allocations: 4 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.1271, allocations: 19.98 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1271, allocations: 0 / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1272, allocations: 11.88 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1272, allocations: 0 / 486.1 MB, free: 15.37 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 0.0001191/0.1273, allocations: 140.8 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1273, allocations: 15.81 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1274, allocations: 21.39 kB / 486.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1274, allocations: 0 / 486.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1274, allocations: 3.938 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1274, allocations: 3.938 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.1279, allocations: 407.5 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1279, allocations: 4.031 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.128, allocations: 11.94 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.128, allocations: 0 / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.128, allocations: 19.86 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.128, allocations: 384 / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.128, allocations: 0 / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1283, allocations: 196.2 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1283, allocations: 92.92 kB / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1284, allocations: 16.12 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1285, allocations: 3.984 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1285, allocations: 11.88 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1285, allocations: 4 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1287, allocations: 212.4 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1287, allocations: 0 / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.129, allocations: 20 kB / 487.3 MB, free: 14.11 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.001635/0.1306, allocations: 450.9 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1308, allocations: 63.91 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1308, allocations: 0 / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1309, allocations: 35.98 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1313, allocations: 23.98 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.1318, allocations: 365.3 kB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1322, allocations: 0.7196 MB / 488.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1323, allocations: 15.44 kB / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1323, allocations: 0 / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.0042/0.1365, allocations: 2.105 MB / 491.1 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches