Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000834/0.000834, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009232/0.0009233, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1997/0.1997, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 12 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002226/0.1144, allocations: 1.446 MB / 485.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1161, allocations: 0.9863 MB / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1162, allocations: 0 / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1165, allocations: 47.81 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1168, allocations: 83.73 kB / 486.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.117, allocations: 55.89 kB / 486.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1172, allocations: 107.6 kB / 486.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.1172, allocations: 8 kB / 486.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.1173, allocations: 39.8 kB / 486.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.1174, allocations: 39.77 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1175, allocations: 0 / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1176, allocations: 43.98 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.1176, allocations: 27.86 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.1177, allocations: 61.44 kB / 486.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1178, allocations: 88.09 kB / 486.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1179, allocations: 0 / 486.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1179, allocations: 0 / 486.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1179, allocations: 0 / 486.8 MB, free: 1.121 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.0004909/0.1184, allocations: 407 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1184, allocations: 12.88 kB / 487.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1185, allocations: 12.84 kB / 487.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1187, allocations: 212 kB / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1187, allocations: 384 / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1188, allocations: 12.06 kB / 487.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1189, allocations: 53.67 kB / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1189, allocations: 0 / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1189, allocations: 0 / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.119, allocations: 0 / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.119, allocations: 19.98 kB / 487.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1194, allocations: 296.9 kB / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1196, allocations: 58.61 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1197, allocations: 20.84 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1197, allocations: 7.922 kB / 487.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1199, allocations: 75.39 kB / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1199, allocations: 0 / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004968/0.1204, allocations: 181.1 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1204, allocations: 55.39 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1206, allocations: 206.9 kB / 488.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1206, allocations: 25.7 kB / 488.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1207, allocations: 104.1 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1207, allocations: 23.72 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1208, allocations: 21.7 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1209, allocations: 326.8 kB / 488.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.1209, allocations: 23.94 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.121, allocations: 33.7 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1211, allocations: 53.7 kB / 489 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1211, allocations: 7.938 kB / 489 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.1213, allocations: 109.4 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1213, allocations: 7.984 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1214, allocations: 4 kB / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1214, allocations: 0 / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1215, allocations: 12 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1215, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1215, allocations: 11.92 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1216, allocations: 4 kB / 489.1 MB, free: 14.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.8e-05/0.1217, allocations: 137 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1217, allocations: 11.91 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.1217, allocations: 17.39 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1217, allocations: 0 / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1217, allocations: 4 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1218, allocations: 3.938 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1222, allocations: 399.5 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1222, allocations: 4.031 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.1222, allocations: 8 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1223, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1223, allocations: 7.938 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1223, allocations: 4 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1223, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1225, allocations: 200.3 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1226, allocations: 100.9 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1226, allocations: 7.875 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1227, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1227, allocations: 11.98 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1227, allocations: 4 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1228, allocations: 152.3 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1229, allocations: 0 / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1231, allocations: 27.98 kB / 490.2 MB, free: 13.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.001057/0.1242, allocations: 450.9 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1244, allocations: 59.92 kB / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1244, allocations: 0 / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.1245, allocations: 35.98 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1248, allocations: 23.97 kB / 490.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1253, allocations: 299.9 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1256, allocations: 0.7043 MB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1256, allocations: 19.44 kB / 491.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.996e-06/0.1256, allocations: 0 / 491.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.003599/0.1292, allocations: 1.944 MB / 493.7 MB, free: 9.926 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches