Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 74.52 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003125/0.1072, allocations: 1.946 MB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1088, allocations: 1.052 MB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.1089, allocations: 4 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1092, allocations: 43.7 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1095, allocations: 103.5 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1097, allocations: 91.66 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.11, allocations: 151.6 kB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1101, allocations: 17.56 kB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.1102, allocations: 59.72 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.1103, allocations: 59.69 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1104, allocations: 4 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.1105, allocations: 47.94 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1105, allocations: 31.84 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.1106, allocations: 51.67 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1108, allocations: 151.5 kB / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1109, allocations: 0 / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1109, allocations: 0 / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1109, allocations: 0 / 485.3 MB, free: 0.707 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005794/0.1115, allocations: 0.4915 MB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1115, allocations: 8.031 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1116, allocations: 16.75 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1119, allocations: 233.6 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1119, allocations: 8.359 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1119, allocations: 12.12 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1122, allocations: 116.1 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1122, allocations: 0 / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1122, allocations: 0 / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1122, allocations: 4 kB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1123, allocations: 47.91 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.1129, allocations: 0.5048 MB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.1132, allocations: 86.59 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.1133, allocations: 44.81 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1133, allocations: 4 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1135, allocations: 83.38 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1135, allocations: 0 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003606/0.1139, allocations: 141.4 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1139, allocations: 63.28 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1141, allocations: 199.1 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1141, allocations: 29.7 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.1142, allocations: 120 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1143, allocations: 27.56 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1143, allocations: 29.7 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1144, allocations: 326.8 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.1145, allocations: 27.98 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.1146, allocations: 64.27 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1148, allocations: 96.58 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1148, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002471/0.115, allocations: 141.3 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1151, allocations: 7.938 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1151, allocations: 4 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1151, allocations: 0 / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.1152, allocations: 31.86 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1152, allocations: 0 / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.1153, allocations: 15.94 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1153, allocations: 8.125 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.413e-05/0.1154, allocations: 133.8 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1154, allocations: 11.81 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1155, allocations: 17.41 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1155, allocations: 3.938 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1155, allocations: 0 / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1155, allocations: 3.984 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1157, allocations: 213.5 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1157, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.1158, allocations: 16 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1158, allocations: 0 / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1158, allocations: 7.984 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1158, allocations: 7.938 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1158, allocations: 0 / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1161, allocations: 172.9 kB / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1162, allocations: 92.89 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1162, allocations: 4.062 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.1163, allocations: 15.92 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1163, allocations: 12.16 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1164, allocations: 4 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1165, allocations: 148.4 kB / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1165, allocations: 0 / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.1167, allocations: 24 kB / 489.1 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008856/0.1176, allocations: 409.2 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1179, allocations: 79.89 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1179, allocations: 0 / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.118, allocations: 35.92 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1182, allocations: 38.97 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1187, allocations: 259.9 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.119, allocations: 0.7123 MB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.119, allocations: 21.41 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.1191, allocations: 19.42 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1191, allocations: 4 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of Templates: time 0.004399/0.1235, allocations: 1.89 MB / 492.5 MB, free: 9.152 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches