Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007788/0.0007788, allocations: 90.98 kB / 18 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.0009364/0.0009366, allocations: 201.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 8.375 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.0955, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001974/0.09751, allocations: 1.466 MB / 485.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.09909, allocations: 0.9966 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.09919, allocations: 3.938 kB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.09952, allocations: 99.78 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.09981, allocations: 111.7 kB / 486.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1, allocations: 67.81 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1002, allocations: 115.7 kB / 486.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1003, allocations: 11.98 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1004, allocations: 55.7 kB / 486.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1006, allocations: 63.75 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1006, allocations: 4 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1007, allocations: 55.98 kB / 486.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.1008, allocations: 31.89 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1008, allocations: 65.33 kB / 486.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.101, allocations: 108.1 kB / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.101, allocations: 0 / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.101, allocations: 0 / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1011, allocations: 0 / 487 MB, free: 0.9023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004939/0.1016, allocations: 426.9 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1016, allocations: 12.88 kB / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.1016, allocations: 20.69 kB / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1019, allocations: 219.9 kB / 487.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1019, allocations: 8.375 kB / 487.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1019, allocations: 16.11 kB / 487.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1021, allocations: 53.67 kB / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1021, allocations: 0 / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1021, allocations: 4 kB / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1021, allocations: 3.938 kB / 487.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.1022, allocations: 23.98 kB / 487.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1026, allocations: 304.8 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1028, allocations: 58.55 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.1029, allocations: 32.91 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1029, allocations: 0 / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1031, allocations: 71.39 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1031, allocations: 0 / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007079/0.1038, allocations: 245.4 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1039, allocations: 59.34 kB / 488.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1041, allocations: 251.2 kB / 488.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1041, allocations: 29.7 kB / 488.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.1042, allocations: 120 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1043, allocations: 31.55 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1043, allocations: 17.72 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1044, allocations: 326.8 kB / 489.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.1045, allocations: 35.98 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.1046, allocations: 45.64 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1047, allocations: 81.7 kB / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1047, allocations: 0 / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002241/0.105, allocations: 129.4 kB / 489.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.105, allocations: 4 kB / 489.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.105, allocations: 0 / 489.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.105, allocations: 0 / 489.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.1051, allocations: 27.98 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1051, allocations: 3.938 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.1052, allocations: 7.938 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1052, allocations: 8.031 kB / 489.6 MB, free: 14.04 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 (13): * Single equations (assignments): 13 * 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.0001085/0.1053, allocations: 133.8 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1053, allocations: 19.8 kB / 489.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1054, allocations: 25.39 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1054, allocations: 0 / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1054, allocations: 3.938 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1054, allocations: 0 / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1059, allocations: 468 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1059, allocations: 0 / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.106, allocations: 15.98 kB / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.106, allocations: 0 / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.106, allocations: 4 kB / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.106, allocations: 4 kB / 490.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.106, allocations: 0 / 490.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1063, allocations: 245 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1064, allocations: 92.86 kB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1064, allocations: 8 kB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.1065, allocations: 3.984 kB / 490.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1065, allocations: 8 kB / 490.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1065, allocations: 4 kB / 490.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1067, allocations: 200.2 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1067, allocations: 0 / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.107, allocations: 28 kB / 490.8 MB, free: 12.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001118/0.1081, allocations: 0.4988 MB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1083, allocations: 79.84 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.1083, allocations: 0 / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.1084, allocations: 43.98 kB / 491.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1088, allocations: 34.91 kB / 491.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.1093, allocations: 365.7 kB / 491.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1096, allocations: 0.72 MB / 492.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.1096, allocations: 19.42 kB / 492.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1096, allocations: 0 / 492.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Templates: time 0.003965/0.1136, allocations: 2.279 MB / 494.9 MB, free: 8.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches