Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 209.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.11 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 86.77 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 62.44 MB / 480.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003152/0.1215, allocations: 1.754 MB / 482 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1232, allocations: 0.99 MB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1232, allocations: 0 / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1236, allocations: 43.84 kB / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1239, allocations: 91.72 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1241, allocations: 59.81 kB / 483.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1242, allocations: 99.7 kB / 483.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.1243, allocations: 12.22 kB / 483.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.1244, allocations: 39.8 kB / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.1245, allocations: 35.78 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1245, allocations: 4 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.1246, allocations: 35.98 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1247, allocations: 27.86 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.1247, allocations: 47.66 kB / 483.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1249, allocations: 88.11 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1249, allocations: 4 kB / 483.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1249, allocations: 0 / 483.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.125, allocations: 4 kB / 483.5 MB, free: 2.211 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.0006168/0.1256, allocations: 434.8 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1256, allocations: 11.97 kB / 484 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1257, allocations: 12.75 kB / 484 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1259, allocations: 220.8 kB / 484.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1259, allocations: 4.375 kB / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.126, allocations: 8.125 kB / 484.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1261, allocations: 45.67 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1261, allocations: 7.938 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1261, allocations: 0 / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1262, allocations: 4 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.1262, allocations: 15.98 kB / 484.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.1265, allocations: 193.7 kB / 484.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1266, allocations: 54.55 kB / 484.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.1267, allocations: 28.78 kB / 484.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1267, allocations: 7.938 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1269, allocations: 63.39 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1269, allocations: 0 / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002916/0.1272, allocations: 101.4 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1273, allocations: 51.41 kB / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1276, allocations: 267 kB / 485 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1276, allocations: 33.69 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1277, allocations: 112.1 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1277, allocations: 11.91 kB / 485.2 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1278, allocations: 17.72 kB / 485.2 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1279, allocations: 322.8 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.128, allocations: 15.98 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.128, allocations: 33.7 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.834e-05/0.1281, allocations: 49.91 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1282, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.1283, allocations: 89.42 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1283, allocations: 6.188 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1284, allocations: 3.938 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1284, allocations: 4 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.1285, allocations: 8 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1285, allocations: 4.031 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.1285, allocations: 15.83 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1285, allocations: 0 / 485.8 MB, free: 15.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 0.0001175/0.1287, allocations: 140.6 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1287, allocations: 11.91 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1287, allocations: 17 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1287, allocations: 0 / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1287, allocations: 3.984 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1288, allocations: 0 / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1289, allocations: 209.4 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1289, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.129, allocations: 4 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.129, allocations: 0 / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.129, allocations: 4 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.129, allocations: 3.938 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.129, allocations: 0 / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1292, allocations: 113 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1293, allocations: 88.92 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1293, allocations: 4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.1293, allocations: 3.984 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1294, allocations: 4.125 kB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1294, allocations: 4 kB / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1296, allocations: 216.3 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1296, allocations: 0 / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1298, allocations: 12 kB / 486.6 MB, free: 14.85 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.001459/0.1313, allocations: 399.2 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1315, allocations: 43.92 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1315, allocations: 3.938 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/0.1315, allocations: 23.98 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1318, allocations: 33.41 kB / 487.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1324, allocations: 328.4 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1327, allocations: 0.7205 MB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1328, allocations: 11.44 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1328, allocations: 4 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.003867/0.1366, allocations: 1.873 MB / 490 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches