Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008046/0.0008048, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009905/0.0009906, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.19 MB / 345.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002351/0.0002351, allocations: 12 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09626, allocations: 63.55 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002047/0.09834, allocations: 1.446 MB / 485.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.09996, allocations: 0.9902 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1001, allocations: 0 / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1004, allocations: 59.8 kB / 486.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1007, allocations: 71.75 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.101, allocations: 67.86 kB / 486.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1012, allocations: 99.64 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1013, allocations: 15.97 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1014, allocations: 39.8 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.1015, allocations: 35.8 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1016, allocations: 4 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1017, allocations: 47.91 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1018, allocations: 27.84 kB / 486.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.1019, allocations: 61.39 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.102, allocations: 96.08 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.102, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.102, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1021, allocations: 0 / 486.8 MB, free: 1.066 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.0004987/0.1026, allocations: 411.1 kB / 487.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1026, allocations: 12.88 kB / 487.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1027, allocations: 12.75 kB / 487.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1029, allocations: 220.8 kB / 487.4 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1029, allocations: 4.375 kB / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1029, allocations: 8.062 kB / 487.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1031, allocations: 53.67 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1031, allocations: 3.938 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1031, allocations: 4 kB / 487.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1031, allocations: 4 kB / 487.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.1032, allocations: 19.98 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1036, allocations: 300.8 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1038, allocations: 54.62 kB / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.1038, allocations: 28.84 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1038, allocations: 0 / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.104, allocations: 63.39 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.104, allocations: 3.984 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.1045, allocations: 181.1 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1046, allocations: 51.41 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1048, allocations: 238.2 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1048, allocations: 29.7 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1049, allocations: 108.1 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.105, allocations: 27.64 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.105, allocations: 13.72 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1051, allocations: 330.8 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1052, allocations: 27.92 kB / 489 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.1052, allocations: 33.7 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1054, allocations: 61.78 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1054, allocations: 0 / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1056, allocations: 105.6 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1056, allocations: 8 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1056, allocations: 3.938 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1056, allocations: 0 / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.1057, allocations: 15.98 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1057, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1058, allocations: 7.969 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1058, allocations: 4 kB / 489.2 MB, free: 14.42 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 9.811e-05/0.1059, allocations: 133.8 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1059, allocations: 15.81 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.106, allocations: 13.41 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.106, allocations: 7.984 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.106, allocations: 0 / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.106, allocations: 3.938 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.1064, allocations: 403.3 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1065, allocations: 4 kB / 489.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.1065, allocations: 7.984 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1065, allocations: 4 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1065, allocations: 3.938 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1065, allocations: 384 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1065, allocations: 4 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1068, allocations: 212.2 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1068, allocations: 92.91 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1069, allocations: 11.94 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1069, allocations: 4 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.107, allocations: 7.984 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.107, allocations: 4 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1072, allocations: 176.4 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1072, allocations: 4 kB / 490.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1074, allocations: 24 kB / 490.3 MB, free: 13.2 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.001014/0.1084, allocations: 446.1 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1086, allocations: 63.91 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1086, allocations: 4 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1087, allocations: 28.08 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1091, allocations: 32.06 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.1096, allocations: 320.4 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1098, allocations: 0.7121 MB / 491.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1099, allocations: 15.44 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1099, allocations: 4 kB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of Templates: time 0.003863/0.1138, allocations: 2.001 MB / 493.9 MB, free: 9.699 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches