Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 77.06 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 62.45 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002852/0.1215, allocations: 1.727 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1232, allocations: 1.025 MB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.1233, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1235, allocations: 31.77 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1239, allocations: 99.59 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1241, allocations: 79.67 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1243, allocations: 103.7 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1244, allocations: 11.98 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1245, allocations: 43.8 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.1246, allocations: 39.72 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1246, allocations: 4 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1247, allocations: 39.98 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1248, allocations: 23.92 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.1249, allocations: 35.73 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1251, allocations: 119.9 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1251, allocations: 0 / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1251, allocations: 0 / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1251, allocations: 0 / 483.4 MB, free: 1.871 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.0005762/0.1257, allocations: 422.9 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1257, allocations: 8.031 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.1258, allocations: 12.84 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.126, allocations: 208.7 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.126, allocations: 4.375 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1261, allocations: 12.06 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1262, allocations: 53.67 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1262, allocations: 0 / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1263, allocations: 4 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1263, allocations: 0 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.1263, allocations: 23.92 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1267, allocations: 288.8 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1269, allocations: 58.67 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1269, allocations: 16.86 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.127, allocations: 3.984 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.1272, allocations: 79.31 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1272, allocations: 0 / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.1278, allocations: 165.5 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.1279, allocations: 51.41 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1281, allocations: 198.4 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1281, allocations: 25.7 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.1282, allocations: 104.1 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1282, allocations: 23.7 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1283, allocations: 29.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1285, allocations: 326.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.1285, allocations: 24.05 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.1286, allocations: 37.7 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1287, allocations: 61.64 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1287, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.1289, allocations: 105.5 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.129, allocations: 4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.129, allocations: 4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.129, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.1291, allocations: 19.92 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1291, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1292, allocations: 7.938 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1292, allocations: 4 kB / 485.7 MB, free: 15.3 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.0001302/0.1293, allocations: 129.9 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1294, allocations: 7.906 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.1294, allocations: 25.33 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1294, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1295, allocations: 4.172 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1295, allocations: 3.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1299, allocations: 399.2 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.13, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.13, allocations: 12.03 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.13, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.13, allocations: 15.86 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.13, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.13, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1303, allocations: 196.5 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1304, allocations: 88.92 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1304, allocations: 11.94 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1305, allocations: 7.984 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1305, allocations: 4 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1306, allocations: 4 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1307, allocations: 147.2 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1307, allocations: 0 / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.131, allocations: 24 kB / 486.8 MB, free: 14.13 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.001124/0.1321, allocations: 475 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1323, allocations: 55.92 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1323, allocations: 0 / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.1324, allocations: 32.11 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1328, allocations: 31.97 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.1333, allocations: 234.9 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1337, allocations: 0.7041 MB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.1337, allocations: 17.17 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1338, allocations: 15.44 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1338, allocations: 0 / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.005251/0.139, allocations: 1.732 MB / 490.1 MB, free: 10.97 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches