Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 116.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.1 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.13 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 88.66 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003386/0.1183, allocations: 1.746 MB / 482 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.12, allocations: 0.9939 MB / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1201, allocations: 0 / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1204, allocations: 47.81 kB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1207, allocations: 87.73 kB / 483.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1209, allocations: 55.89 kB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1211, allocations: 103.7 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.1212, allocations: 16.17 kB / 483.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.046e-05/0.1213, allocations: 39.8 kB / 483.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.1214, allocations: 31.84 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1214, allocations: 4 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.1215, allocations: 39.97 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.1215, allocations: 31.8 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1216, allocations: 35.69 kB / 483.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1218, allocations: 96.09 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1218, allocations: 0 / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1218, allocations: 0 / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1218, allocations: 4 kB / 483.6 MB, free: 2.195 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.0005814/0.1224, allocations: 434.8 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1224, allocations: 8.031 kB / 484 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.1225, allocations: 16.75 kB / 484 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1227, allocations: 224.8 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1228, allocations: 4.375 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1228, allocations: 4.125 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1229, allocations: 53.61 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.123, allocations: 7.938 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.123, allocations: 0 / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.123, allocations: 0 / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1231, allocations: 12 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.1233, allocations: 193.7 kB / 484.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1235, allocations: 54.59 kB / 484.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1235, allocations: 28.73 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1236, allocations: 0 / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1238, allocations: 63.39 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1238, allocations: 0 / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003105/0.1241, allocations: 101.5 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1242, allocations: 55.41 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.1245, allocations: 270.9 kB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1245, allocations: 29.7 kB / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.1246, allocations: 112.1 kB / 485.2 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1246, allocations: 11.84 kB / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1247, allocations: 25.7 kB / 485.2 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1248, allocations: 322.8 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1249, allocations: 16 kB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.125, allocations: 25.7 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1251, allocations: 49.7 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1251, allocations: 0 / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001645/0.1253, allocations: 89.38 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1253, allocations: 4 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1253, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1253, allocations: 320 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.1254, allocations: 11.98 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1254, allocations: 4 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.1255, allocations: 15.88 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1255, allocations: 4 kB / 485.8 MB, free: 15.75 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.0001377/0.1256, allocations: 141.7 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1257, allocations: 7.906 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.1257, allocations: 20.98 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1257, allocations: 0 / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1257, allocations: 0 / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1257, allocations: 4 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1259, allocations: 209.4 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1259, allocations: 4 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.126, allocations: 4 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.126, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.126, allocations: 3.984 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.126, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.126, allocations: 4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1262, allocations: 112.9 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1263, allocations: 88.92 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1263, allocations: 4 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1263, allocations: 4 kB / 486.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.1264, allocations: 3.984 kB / 486.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1264, allocations: 8 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.1266, allocations: 200.4 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1266, allocations: 0 / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1268, allocations: 19.98 kB / 486.6 MB, free: 14.84 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.001445/0.1283, allocations: 411 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1284, allocations: 43.92 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1285, allocations: 3.938 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.1285, allocations: 23.98 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1288, allocations: 27.91 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.1294, allocations: 324.2 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1298, allocations: 0.7127 MB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1298, allocations: 15.44 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1298, allocations: 4 kB / 488.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003768/0.1336, allocations: 1.884 MB / 490 MB, free: 11.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches