Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 80.11 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003385/0.1098, allocations: 1.742 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1115, allocations: 1.029 MB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.1115, allocations: 0 / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1119, allocations: 103.7 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1122, allocations: 123.5 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1125, allocations: 87.66 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1127, allocations: 127.7 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1128, allocations: 15.98 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1129, allocations: 63.69 kB / 484.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.113, allocations: 63.77 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1131, allocations: 4 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1132, allocations: 63.91 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1132, allocations: 23.92 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.68e-05/0.1133, allocations: 47.61 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1135, allocations: 147.5 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1136, allocations: 4 kB / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1136, allocations: 0 / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1136, allocations: 0 / 485.1 MB, free: 0.8828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005854/0.1142, allocations: 442.8 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1142, allocations: 8.031 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1143, allocations: 16.75 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1146, allocations: 227.9 kB / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1146, allocations: 384 / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1146, allocations: 8.125 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1148, allocations: 61.61 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1148, allocations: 3.984 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1148, allocations: 4 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1148, allocations: 4 kB / 485.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.1149, allocations: 19.98 kB / 485.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1153, allocations: 308.7 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1155, allocations: 66.47 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1156, allocations: 24.97 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1156, allocations: 4 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.1158, allocations: 71.39 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1158, allocations: 0 / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00075/0.1165, allocations: 249.4 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1166, allocations: 55.34 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1169, allocations: 247.2 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1169, allocations: 29.7 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.117, allocations: 112.1 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.117, allocations: 35.61 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.1171, allocations: 33.7 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1172, allocations: 330.8 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1173, allocations: 31.92 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.1174, allocations: 41.7 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1175, allocations: 81.7 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1175, allocations: 0 / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002/0.1177, allocations: 133.5 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1178, allocations: 8 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1178, allocations: 0 / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1178, allocations: 0 / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1179, allocations: 19.98 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1179, allocations: 11.88 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.118, allocations: 7.969 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.118, allocations: 11.94 kB / 487.7 MB, free: 13.99 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 (13): * Single equations (assignments): 13 * 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.0001053/0.1181, allocations: 133.8 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1181, allocations: 15.81 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1182, allocations: 17.39 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1182, allocations: 4 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1182, allocations: 3.938 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1182, allocations: 0 / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1187, allocations: 459.9 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1188, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.1188, allocations: 12 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1188, allocations: 7.984 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1188, allocations: 4 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1188, allocations: 4 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1188, allocations: 0 / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1191, allocations: 237 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1192, allocations: 92.91 kB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1192, allocations: 15.94 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1193, allocations: 4 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1193, allocations: 7.984 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1193, allocations: 4 kB / 488.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1195, allocations: 196.2 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 0 / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1198, allocations: 31.98 kB / 489 MB, free: 12.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001177/0.121, allocations: 0.5023 MB / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1212, allocations: 79.84 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1212, allocations: 0 / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.1213, allocations: 43.98 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1216, allocations: 35.48 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.1221, allocations: 292.7 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1224, allocations: 0.7237 MB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1225, allocations: 20.62 kB / 490.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.1225, allocations: 19.44 kB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1225, allocations: 3.938 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of Templates: time 0.00445/0.127, allocations: 2.009 MB / 492.7 MB, free: 9.074 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches