Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 82.03 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003154/0.1103, allocations: 1.719 MB / 482.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1127, allocations: 1.631 MB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.274e-05/0.1128, allocations: 0 / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.113, allocations: 39.77 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1134, allocations: 99.53 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1136, allocations: 79.67 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1138, allocations: 103.7 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.1139, allocations: 16 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.114, allocations: 51.77 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1142, allocations: 43.78 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1142, allocations: 4 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1144, allocations: 115.9 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.1145, allocations: 15.92 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.1145, allocations: 27.81 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1148, allocations: 175.8 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1148, allocations: 0 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1149, allocations: 0 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1149, allocations: 0 / 484.8 MB, free: 1.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005547/0.1154, allocations: 431 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1155, allocations: 8.031 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.1155, allocations: 8.844 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1158, allocations: 216.2 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1158, allocations: 7.875 kB / 485.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1158, allocations: 4 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.116, allocations: 71.33 kB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.116, allocations: 4 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.116, allocations: 0 / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1161, allocations: 0 / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1161, allocations: 23.98 kB / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.1165, allocations: 284.9 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1167, allocations: 58.62 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1168, allocations: 24.84 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1168, allocations: 0 / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.117, allocations: 71.39 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.117, allocations: 0 / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.1175, allocations: 173.1 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1176, allocations: 81.05 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1178, allocations: 167.9 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1178, allocations: 29.7 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.1179, allocations: 104.1 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1179, allocations: 19.66 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.118, allocations: 25.7 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1181, allocations: 322.8 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.1182, allocations: 20 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.1183, allocations: 50.5 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1184, allocations: 57.64 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1184, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.1186, allocations: 101.5 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1186, allocations: 8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1186, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1186, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.1187, allocations: 16.06 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1187, allocations: 7.938 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.1188, allocations: 3.984 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1188, allocations: 4 kB / 487.2 MB, free: 14.56 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 (10): * Single equations (assignments): 10 * 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.0001048/0.1189, allocations: 129.8 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.119, allocations: 11.81 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.119, allocations: 16.7 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.119, allocations: 192 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.119, allocations: 7.938 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.119, allocations: 3.938 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.1195, allocations: 395.3 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1195, allocations: 0 / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1195, allocations: 11.94 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1195, allocations: 0 / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1196, allocations: 7.984 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1196, allocations: 4.375 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1196, allocations: 32 / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1198, allocations: 204.2 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1199, allocations: 88.95 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1199, allocations: 8 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.12, allocations: 7.984 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.12, allocations: 0 / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1201, allocations: 12 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1202, allocations: 122.5 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1202, allocations: 4 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1205, allocations: 47.98 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001231/0.1217, allocations: 0.5317 MB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1219, allocations: 63.91 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.122, allocations: 0 / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.122, allocations: 31.92 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1224, allocations: 36.22 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.1228, allocations: 232.6 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1231, allocations: 0.7001 MB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1232, allocations: 19.44 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1232, allocations: 3.938 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.004569/0.1278, allocations: 2.409 MB / 492.2 MB, free: 9.496 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches