Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 110.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001394, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 79.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002717/0.1196, allocations: 1.684 MB / 483.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.121, allocations: 1.012 MB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.1211, allocations: 0 / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1214, allocations: 63.73 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1217, allocations: 99.58 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1218, allocations: 79.67 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.122, allocations: 103.7 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1221, allocations: 12.23 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.1221, allocations: 39.78 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.1222, allocations: 55.7 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1223, allocations: 4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.1223, allocations: 31.98 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.1224, allocations: 23.91 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.1224, allocations: 27.81 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1226, allocations: 103.6 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1226, allocations: 3.984 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1226, allocations: 4 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1226, allocations: 4 kB / 484.8 MB, free: 1.164 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.0004486/0.1231, allocations: 410.8 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1231, allocations: 8.031 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1232, allocations: 8.844 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1234, allocations: 204.8 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1234, allocations: 384 / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1234, allocations: 8.125 kB / 485.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1236, allocations: 49.67 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.1236, allocations: 4 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1236, allocations: 0 / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1236, allocations: 7.984 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.1237, allocations: 15.92 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1238, allocations: 181.7 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.124, allocations: 50.61 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1241, allocations: 24.8 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1241, allocations: 0 / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.1242, allocations: 71.45 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.404e-06/0.1243, allocations: 3.938 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002494/0.1245, allocations: 97.42 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1246, allocations: 51.41 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1247, allocations: 198.4 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1247, allocations: 25.7 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1248, allocations: 108 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1248, allocations: 7.906 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1249, allocations: 17.72 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.125, allocations: 326.8 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.125, allocations: 15.98 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.1251, allocations: 29.72 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.1252, allocations: 45.64 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1252, allocations: 3.938 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001426/0.1254, allocations: 93.69 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1254, allocations: 7.984 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1254, allocations: 160 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1254, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.1255, allocations: 8 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1255, allocations: 12.02 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.1255, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1255, allocations: 4 kB / 486.9 MB, free: 14.87 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 8.151e-05/0.1256, allocations: 129.8 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.1257, allocations: 11.81 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.1257, allocations: 16.98 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1257, allocations: 4 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1257, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1257, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1258, allocations: 193.5 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1259, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.1259, allocations: 11.92 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1259, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1259, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1259, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1259, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1261, allocations: 113 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1261, allocations: 85.02 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1262, allocations: 4 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.1262, allocations: 0 / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1262, allocations: 7.984 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1263, allocations: 0 / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1264, allocations: 148.2 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000204/0.1266, allocations: 23.94 kB / 487.6 MB, free: 14.04 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.0008333/0.1274, allocations: 409.3 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1276, allocations: 39.98 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1276, allocations: 0 / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.1276, allocations: 23.92 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1279, allocations: 30.86 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.1282, allocations: 213.9 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1285, allocations: 0.701 MB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.1285, allocations: 8.562 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.1286, allocations: 19.42 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1286, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.00373/0.1323, allocations: 1.49 MB / 490.5 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches