Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.91 kB / 418.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.113, allocations: 62.45 MB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003561/0.1166, allocations: 1.68 MB / 482.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1183, allocations: 1.009 MB / 483.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.1184, allocations: 4 kB / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1187, allocations: 55.73 kB / 483.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1191, allocations: 99.59 kB / 483.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1193, allocations: 67.69 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1195, allocations: 99.69 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.1195, allocations: 8.234 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.1196, allocations: 43.78 kB / 483.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.1197, allocations: 27.86 kB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1197, allocations: 4 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.1198, allocations: 31.98 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.1199, allocations: 39.78 kB / 483.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1199, allocations: 35.69 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1202, allocations: 123.8 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1202, allocations: 0 / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1202, allocations: 0 / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1202, allocations: 0 / 484 MB, free: 1.988 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005544/0.1208, allocations: 430.8 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1208, allocations: 11.97 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.1209, allocations: 16.75 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1211, allocations: 224.8 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1211, allocations: 4.375 kB / 484.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1212, allocations: 8.062 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1213, allocations: 45.67 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1213, allocations: 4 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1213, allocations: 0 / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1213, allocations: 0 / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.1214, allocations: 19.98 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.1216, allocations: 189.7 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1218, allocations: 58.55 kB / 485 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1219, allocations: 24.78 kB / 485 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1219, allocations: 0 / 485 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1221, allocations: 71.39 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1221, allocations: 3.938 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002846/0.1224, allocations: 97.48 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1224, allocations: 55.34 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1227, allocations: 267 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1227, allocations: 29.7 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1228, allocations: 112.1 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1228, allocations: 15.89 kB / 485.7 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1229, allocations: 17.72 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.123, allocations: 330.8 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1231, allocations: 11.98 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.1231, allocations: 29.7 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.1232, allocations: 37.72 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1232, allocations: 4 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.1234, allocations: 93.36 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1234, allocations: 8 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1234, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1235, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.1235, allocations: 8 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1236, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1236, allocations: 19.78 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1236, allocations: 7.984 kB / 486.2 MB, free: 15.54 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 (7): * Single equations (assignments): 7 * 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.0001105/0.1237, allocations: 133.8 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1238, allocations: 11.91 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.1238, allocations: 17 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1238, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1238, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1238, allocations: 3.984 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.124, allocations: 213.7 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.124, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.124, allocations: 8 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.124, allocations: 4 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1241, allocations: 0 / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1241, allocations: 0 / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1241, allocations: 0 / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1243, allocations: 116.9 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.1243, allocations: 88.92 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1244, allocations: 3.938 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.1244, allocations: 7.984 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1244, allocations: 8 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1245, allocations: 4 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1246, allocations: 204.4 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 0 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.1249, allocations: 20 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009109/0.1258, allocations: 388.7 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.126, allocations: 51.92 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.126, allocations: 4.062 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.1261, allocations: 19.98 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1264, allocations: 35.14 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1269, allocations: 292.1 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1272, allocations: 0.7244 MB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.1272, allocations: 15.42 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1272, allocations: 0 / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003693/0.1309, allocations: 1.884 MB / 490.5 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches