Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008289, allocations: 95.09 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.0009776/0.0009777, allocations: 207 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.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 12 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002065/0.1237, allocations: 1.407 MB / 485.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1254, allocations: 0.9668 MB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.1255, allocations: 0 / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1258, allocations: 87.77 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1261, allocations: 95.72 kB / 486.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1263, allocations: 59.86 kB / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1265, allocations: 107.6 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.1265, allocations: 16.2 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1266, allocations: 43.78 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1268, allocations: 51.83 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1268, allocations: 0 / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.1269, allocations: 31.98 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1269, allocations: 23.86 kB / 486.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.127, allocations: 65.42 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1272, allocations: 87.98 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1272, allocations: 0 / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1272, allocations: 0 / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1272, allocations: 0 / 486.8 MB, free: 1.082 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.0004866/0.1277, allocations: 399.1 kB / 487.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1277, allocations: 12.88 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1278, allocations: 8.844 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.128, allocations: 212.5 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.128, allocations: 4.375 kB / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.128, allocations: 8.125 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1282, allocations: 49.61 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.1282, allocations: 4 kB / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1282, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1282, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.1283, allocations: 19.98 kB / 487.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1285, allocations: 181.7 kB / 487.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1286, allocations: 54.56 kB / 487.7 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1287, allocations: 32.83 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1288, allocations: 4 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.1289, allocations: 59.39 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1289, allocations: 0 / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002651/0.1292, allocations: 97.48 kB / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1292, allocations: 51.41 kB / 487.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1295, allocations: 223.4 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1295, allocations: 33.7 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.1295, allocations: 108.1 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1296, allocations: 7.844 kB / 488.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.1296, allocations: 17.72 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1297, allocations: 322.8 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1298, allocations: 15.98 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1299, allocations: 29.7 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.13, allocations: 41.72 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.13, allocations: 0 / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001659/0.1301, allocations: 97.61 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1302, allocations: 10.19 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1302, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1302, allocations: 0 / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.1303, allocations: 8 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1303, allocations: 4 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1303, allocations: 4.031 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1303, allocations: 4 kB / 488.8 MB, free: 14.76 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 9.833e-05/0.1305, allocations: 137.7 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1305, allocations: 19.75 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.1305, allocations: 12.98 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1305, allocations: 7.984 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1305, allocations: 0 / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1305, allocations: 0 / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1307, allocations: 197.5 kB / 489.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1307, allocations: 4 kB / 489.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.1307, allocations: 4 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1308, allocations: 0 / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1308, allocations: 4 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1308, allocations: 3.828 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1308, allocations: 0 / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.131, allocations: 116.8 kB / 489.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.131, allocations: 89 kB / 489.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1311, allocations: 4 kB / 489.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.1311, allocations: 4 kB / 489.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1312, allocations: 0 / 489.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1312, allocations: 11.98 kB / 489.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1313, allocations: 161.2 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1313, allocations: 0 / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.1315, allocations: 16 kB / 489.6 MB, free: 13.89 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.0009532/0.1325, allocations: 400.7 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1327, allocations: 47.91 kB / 490.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1327, allocations: 0 / 490.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.1327, allocations: 16 kB / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.133, allocations: 39.08 kB / 490.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.1335, allocations: 279.4 kB / 490.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1338, allocations: 0.7043 MB / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1338, allocations: 11.44 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1338, allocations: 4 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.003547/0.1374, allocations: 1.758 MB / 492.9 MB, free: 10.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches