Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007687/0.0007688, allocations: 96.86 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008867/0.0008867, allocations: 206.4 kB / 18.94 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.325/1.325, 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.1941/0.1941, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002426, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1012, allocations: 63.58 MB / 483.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001961/0.1032, allocations: 1.438 MB / 485.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1054, allocations: 1.585 MB / 486.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.1055, allocations: 0 / 486.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1058, allocations: 27.86 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1061, allocations: 79.73 kB / 486.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1063, allocations: 67.81 kB / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1065, allocations: 99.69 kB / 487 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.1066, allocations: 15.98 kB / 487.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.1066, allocations: 43.78 kB / 487.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1068, allocations: 39.72 kB / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1068, allocations: 4 kB / 487.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.107, allocations: 99.92 kB / 487.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1071, allocations: 19.92 kB / 487.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.1071, allocations: 57.45 kB / 487.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1073, allocations: 124 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1073, allocations: 7.938 kB / 487.4 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1073, allocations: 0 / 487.4 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1074, allocations: 0 / 487.4 MB, free: 440 kB / 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.0005002/0.1079, allocations: 407.2 kB / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1079, allocations: 8.875 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1079, allocations: 8.844 kB / 487.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1082, allocations: 215.6 kB / 488.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1082, allocations: 3.938 kB / 488.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1082, allocations: 12 kB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1084, allocations: 75.31 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1084, allocations: 0 / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1084, allocations: 3.938 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1084, allocations: 0 / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/0.1085, allocations: 19.98 kB / 488.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1088, allocations: 280.9 kB / 488.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.109, allocations: 66.61 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.109, allocations: 16.86 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1091, allocations: 3.984 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1092, allocations: 71.39 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1092, allocations: 4 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004795/0.1097, allocations: 169.2 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1098, allocations: 89.03 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1099, allocations: 158.5 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.11, allocations: 33.64 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.11, allocations: 96.14 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1101, allocations: 27.64 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.1101, allocations: 13.72 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.1102, allocations: 326.8 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1103, allocations: 19.98 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.1103, allocations: 46.5 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1104, allocations: 57.7 kB / 489.6 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1105, allocations: 0 / 489.6 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.1106, allocations: 105.6 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1107, allocations: 8 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1107, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.1107, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1108, allocations: 15.98 kB / 489.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1108, allocations: 7.938 kB / 489.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1108, allocations: 0 / 489.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1109, allocations: 4 kB / 489.8 MB, free: 13.86 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.02e-05/0.111, allocations: 128.5 kB / 489.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.111, allocations: 19.8 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.111, allocations: 16.7 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.111, allocations: 0 / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1111, allocations: 3.938 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1111, allocations: 0 / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1115, allocations: 399.5 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1115, allocations: 3.938 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1115, allocations: 15.92 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1116, allocations: 4.031 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1116, allocations: 0 / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1116, allocations: 4 kB / 490.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1116, allocations: 0 / 490.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1118, allocations: 200.2 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1119, allocations: 96.94 kB / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1119, allocations: 0 / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.112, allocations: 8 kB / 490.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.112, allocations: 11.98 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.112, allocations: 384 / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1121, allocations: 130.7 kB / 490.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1121, allocations: 0 / 490.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1124, allocations: 47.92 kB / 490.8 MB, free: 12.68 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.001179/0.1136, allocations: 0.5395 MB / 491.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1138, allocations: 55.92 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1138, allocations: 0 / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.1139, allocations: 31.92 kB / 491.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1142, allocations: 31.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.0004054/0.1146, allocations: 247.8 kB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1149, allocations: 0.7004 MB / 492.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.115, allocations: 27.42 kB / 492.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.115, allocations: 0 / 492.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004289/0.1193, allocations: 2.392 MB / 494.9 MB, free: 8.789 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches