Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 85.67 kB / 417.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 62.45 MB / 479.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003667/0.1058, allocations: 1.781 MB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1075, allocations: 1.017 MB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.1075, allocations: 0 / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1079, allocations: 31.91 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1082, allocations: 83.67 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1085, allocations: 71.86 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1086, allocations: 99.7 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.1087, allocations: 12 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.1088, allocations: 51.7 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.1089, allocations: 35.8 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.109, allocations: 4 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1091, allocations: 43.97 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1091, allocations: 19.92 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.1092, allocations: 35.73 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1094, allocations: 123.9 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1094, allocations: 7.938 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1094, allocations: 0 / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1095, allocations: 0 / 482.9 MB, free: 2.141 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.0005903/0.1101, allocations: 418.9 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1101, allocations: 8.031 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1102, allocations: 12.84 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1104, allocations: 212 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1104, allocations: 4.375 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1105, allocations: 8.125 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1106, allocations: 57.67 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1106, allocations: 3.938 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1107, allocations: 0 / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1107, allocations: 0 / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.1108, allocations: 19.98 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1111, allocations: 292.9 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1113, allocations: 54.69 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1114, allocations: 28.78 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1114, allocations: 0 / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1116, allocations: 63.39 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1116, allocations: 0 / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000515/0.1121, allocations: 197 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1121, allocations: 51.41 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1123, allocations: 210.9 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1124, allocations: 25.7 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.1124, allocations: 104.1 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.1125, allocations: 23.7 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1125, allocations: 21.72 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1127, allocations: 326.8 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1127, allocations: 27.92 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.1128, allocations: 37.7 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1129, allocations: 61.64 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1129, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1131, allocations: 101.4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1131, allocations: 6.969 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1131, allocations: 4.031 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1132, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1132, allocations: 15.98 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1133, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.1133, allocations: 11.94 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1133, allocations: 0 / 485.3 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 (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 9.462e-05/0.1134, allocations: 129.8 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1135, allocations: 7.906 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1135, allocations: 25.34 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1135, allocations: 11.97 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1135, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1135, allocations: 3.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.114, allocations: 395.2 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.114, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.114, allocations: 12.36 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.114, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1141, allocations: 3.938 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1141, allocations: 8.031 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1141, allocations: 4 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1143, allocations: 200.3 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1144, allocations: 88.92 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1144, allocations: 3.938 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1145, allocations: 8.172 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1145, allocations: 11.94 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1145, allocations: 7.938 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1147, allocations: 160.3 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1147, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.115, allocations: 24 kB / 486.4 MB, free: 14.35 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.001111/0.1161, allocations: 453.9 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1163, allocations: 63.84 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1163, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1164, allocations: 35.92 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1169, allocations: 28.86 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.1174, allocations: 259.3 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1177, allocations: 0.7119 MB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.1178, allocations: 12.88 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1178, allocations: 15.44 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1179, allocations: 0 / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004824/0.1227, allocations: 1.71 MB / 489.6 MB, free: 11.19 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches