Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 106.9 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 186.5 kB / 17.56 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 72.72 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1035, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002887/0.1064, allocations: 1.83 MB / 442.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1078, allocations: 0.8747 MB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.108, allocations: 7.938 kB / 443.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.1085, allocations: 295.4 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1088, allocations: 199.5 kB / 443.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1091, allocations: 131.3 kB / 444 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1093, allocations: 243.4 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.1094, allocations: 9.562 kB / 444.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1095, allocations: 127.6 kB / 444.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1097, allocations: 203.4 kB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1097, allocations: 8 kB / 444.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1098, allocations: 43.98 kB / 444.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1099, allocations: 131.6 kB / 444.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.11, allocations: 150.7 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1103, allocations: 287.8 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1103, allocations: 0 / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1103, allocations: 0 / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1103, allocations: 0 / 445.2 MB, free: 2.824 MB / 318.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.0007003/0.111, allocations: 0.7307 MB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1111, allocations: 19.83 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.1111, allocations: 48.38 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1115, allocations: 447.8 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1116, allocations: 4.375 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1116, allocations: 4.125 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1118, allocations: 87.36 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1118, allocations: 7.984 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1118, allocations: 0 / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1118, allocations: 4 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.1119, allocations: 31.92 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1122, allocations: 374.4 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1124, allocations: 113.2 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.1125, allocations: 45.58 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1125, allocations: 0 / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.1128, allocations: 101.1 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.1128, allocations: 4 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003979/0.1132, allocations: 200.9 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1132, allocations: 77.11 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/0.1142, allocations: 1.042 MB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1143, allocations: 25.7 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1144, allocations: 228.1 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.1145, allocations: 35.62 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1145, allocations: 29.7 kB / 448.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1147, allocations: 370.8 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1148, allocations: 23.98 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.1149, allocations: 55.42 kB / 449.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1151, allocations: 99.84 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1151, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002805/0.1154, allocations: 164.9 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1154, allocations: 8 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1154, allocations: 0 / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1154, allocations: 3.984 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1156, allocations: 27.88 kB / 449.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1156, allocations: 0 / 449.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.1157, allocations: 19.98 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1157, allocations: 4 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.000227/0.1159, allocations: 233.6 kB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.116, allocations: 51.34 kB / 449.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.1161, allocations: 56 kB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1161, allocations: 4 kB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1161, allocations: 0 / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1161, allocations: 0 / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1164, allocations: 345.3 kB / 450.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1164, allocations: 4 kB / 450.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1164, allocations: 11.94 kB / 450.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1164, allocations: 0 / 450.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1165, allocations: 4 kB / 450.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1165, allocations: 0 / 450.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1165, allocations: 7.922 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1168, allocations: 205.4 kB / 450.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1169, allocations: 140.4 kB / 450.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.117, allocations: 4 kB / 450.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.1171, allocations: 3.984 kB / 450.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1171, allocations: 15.98 kB / 450.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1171, allocations: 7.984 kB / 450.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.1179, allocations: 0.7643 MB / 451.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1179, allocations: 0 / 451.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1182, allocations: 44 kB / 451.4 MB, free: 12.17 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009676/0.1192, allocations: 429.8 kB / 451.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1194, allocations: 83.97 kB / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1194, allocations: 0 / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1195, allocations: 44.05 kB / 452 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.12, allocations: 80.11 kB / 452.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1213, allocations: 0.9896 MB / 453 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1217, allocations: 0.8427 MB / 453.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.1218, allocations: 35.42 kB / 453.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1218, allocations: 0 / 453.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Templates: time 0.008263/0.1301, allocations: 5.055 MB / 459 MB, free: 4.637 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches