Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.12 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002127, allocations: 81.12 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 62.44 MB / 480.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003315/0.1171, allocations: 1.781 MB / 482 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1188, allocations: 1.01 MB / 483 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.1189, allocations: 3.938 kB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1192, allocations: 31.91 kB / 483.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.1195, allocations: 79.73 kB / 483.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1197, allocations: 75.75 kB / 483.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1199, allocations: 103.7 kB / 483.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.12, allocations: 11.98 kB / 483.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.1201, allocations: 43.73 kB / 483.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.1202, allocations: 39.77 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1202, allocations: 4 kB / 483.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.805e-05/0.1203, allocations: 39.98 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1204, allocations: 19.92 kB / 483.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.1204, allocations: 35.8 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1206, allocations: 84.11 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1206, allocations: 3.984 kB / 483.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1206, allocations: 0 / 483.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1206, allocations: 0 / 483.6 MB, free: 2.168 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.0005524/0.1212, allocations: 407 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1212, allocations: 12.03 kB / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1213, allocations: 8.844 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1215, allocations: 200.1 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1215, allocations: 12.38 kB / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1216, allocations: 4.125 kB / 484.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1217, allocations: 57.67 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1218, allocations: 0 / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1218, allocations: 3.984 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1218, allocations: 0 / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.1219, allocations: 23.92 kB / 484.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1223, allocations: 288.7 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1225, allocations: 58.69 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1225, allocations: 20.84 kB / 484.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1225, allocations: 3.938 kB / 484.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1228, allocations: 67.38 kB / 484.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1228, allocations: 8 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.1234, allocations: 173.2 kB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1234, allocations: 55.41 kB / 485 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1236, allocations: 166.2 kB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1236, allocations: 29.7 kB / 485.1 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.1237, allocations: 104.1 kB / 485.2 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1237, allocations: 23.66 kB / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1238, allocations: 25.7 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1239, allocations: 330.8 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.124, allocations: 16 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1241, allocations: 37.64 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1242, allocations: 65.64 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1242, allocations: 0 / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.1244, allocations: 109.5 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1244, allocations: 8 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1244, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1245, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1245, allocations: 12 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1246, allocations: 8.141 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1246, allocations: 7.922 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1246, allocations: 4 kB / 485.9 MB, free: 15.63 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.0001056/0.1247, allocations: 124.4 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1248, allocations: 11.91 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.1248, allocations: 16.7 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1248, allocations: 0 / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1248, allocations: 0 / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1248, allocations: 3.938 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.1253, allocations: 395.2 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1253, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1254, allocations: 11.94 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1254, allocations: 12 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1254, allocations: 3.938 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1254, allocations: 4 kB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1254, allocations: 0 / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1257, allocations: 196.3 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1257, allocations: 85.02 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1258, allocations: 3.938 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1259, allocations: 8.359 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1259, allocations: 11.94 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1259, allocations: 4 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1261, allocations: 127.2 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1261, allocations: 7.938 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1263, allocations: 20 kB / 486.9 MB, free: 14.5 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.001738/0.1281, allocations: 459.2 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1283, allocations: 67.91 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1283, allocations: 0 / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1284, allocations: 23.98 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1288, allocations: 32.11 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1293, allocations: 265 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1296, allocations: 0.7002 MB / 488.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1297, allocations: 19.42 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1297, allocations: 4 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003936/0.1336, allocations: 1.903 MB / 490.4 MB, free: 11.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches