Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008173, 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.001028/0.001028, allocations: 207.4 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.312/1.312, 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.1914/0.1914, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1201, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001986/0.1222, allocations: 1.407 MB / 485.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1238, allocations: 0.9668 MB / 486.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.1239, allocations: 0 / 486.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1241, allocations: 55.81 kB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1244, allocations: 83.72 kB / 486.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1246, allocations: 59.88 kB / 486.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1248, allocations: 99.64 kB / 486.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1249, allocations: 8.219 kB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.125, allocations: 35.8 kB / 486.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.1251, allocations: 43.83 kB / 486.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1251, allocations: 4 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.1252, allocations: 35.98 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1253, allocations: 19.84 kB / 486.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.1253, allocations: 57.45 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1255, allocations: 72.11 kB / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1255, allocations: 0 / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1255, allocations: 0 / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1255, allocations: 0 / 486.7 MB, free: 1.191 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.0004732/0.126, allocations: 387.2 kB / 487.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.126, allocations: 12.88 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.1261, allocations: 12.84 kB / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1263, allocations: 212 kB / 487.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1264, allocations: 384 / 487.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1264, allocations: 12.06 kB / 487.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1265, allocations: 53.61 kB / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.1265, allocations: 0 / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1266, allocations: 0 / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1266, allocations: 0 / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1266, allocations: 23.92 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1268, allocations: 181.7 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.127, allocations: 50.56 kB / 487.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1271, allocations: 24.78 kB / 487.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1271, allocations: 3.984 kB / 487.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1273, allocations: 67.39 kB / 487.7 MB, free: 8 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1273, allocations: 0 / 487.7 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.1276, allocations: 93.58 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1276, allocations: 55.34 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1278, allocations: 180 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1278, allocations: 33.7 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1279, allocations: 100.1 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1279, allocations: 7.812 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.1279, allocations: 21.72 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.128, allocations: 322.8 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.1281, allocations: 15.98 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.1281, allocations: 29.69 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.1282, allocations: 37.72 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1283, allocations: 4 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.1284, allocations: 89.45 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1284, allocations: 4 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1285, allocations: 0 / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1285, allocations: 4 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.1285, allocations: 12 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1286, allocations: 3.938 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1286, allocations: 4 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1286, allocations: 0 / 488.7 MB, free: 14.94 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.711e-05/0.1287, allocations: 132.5 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1288, allocations: 15.81 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1288, allocations: 16.98 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1288, allocations: 0 / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1288, allocations: 320 / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1288, allocations: 3.938 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.129, allocations: 189.6 kB / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.129, allocations: 0 / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.129, allocations: 4 kB / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.129, allocations: 0 / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.129, allocations: 7.984 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.129, allocations: 0 / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1291, allocations: 0 / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1292, allocations: 112.9 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1293, allocations: 88.92 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1293, allocations: 3.938 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.1294, allocations: 8 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1294, allocations: 11.98 kB / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1294, allocations: 0 / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1295, allocations: 142.8 kB / 489.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1296, allocations: 0 / 489.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1298, allocations: 16 kB / 489.4 MB, free: 14.11 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.0009321/0.1307, allocations: 402 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1309, allocations: 43.86 kB / 489.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1309, allocations: 64 / 489.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.131, allocations: 27.98 kB / 489.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1312, allocations: 23.92 kB / 489.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.1316, allocations: 234.9 kB / 490.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1319, allocations: 0.7004 MB / 490.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1319, allocations: 19.44 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1319, allocations: 0 / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.003339/0.1353, allocations: 1.694 MB / 492.6 MB, free: 11.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches