Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001305/0.001305, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001339/0.001339, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.11 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003071/0.1173, allocations: 1.784 MB / 471.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1188, allocations: 0.9627 MB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.1189, allocations: 3.938 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.1194, allocations: 311.3 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1198, allocations: 199.4 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1202, allocations: 183 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1205, allocations: 239.4 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1205, allocations: 17.53 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1207, allocations: 127.6 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1209, allocations: 187.5 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.1209, allocations: 8 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.121, allocations: 39.98 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1212, allocations: 131.6 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1213, allocations: 150.7 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.1217, allocations: 363 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1217, allocations: 7.984 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1217, allocations: 0 / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1217, allocations: 0 / 474.6 MB, free: 9.684 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.0008568/0.1226, allocations: 0.7152 MB / 475.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1226, allocations: 12.03 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.1227, allocations: 52.27 kB / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.1232, allocations: 443.8 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1232, allocations: 4.375 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1233, allocations: 12.12 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1235, allocations: 87.3 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.1235, allocations: 0 / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1235, allocations: 0 / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1235, allocations: 0 / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1236, allocations: 35.91 kB / 476 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.124, allocations: 378.4 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1243, allocations: 109.2 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.1244, allocations: 41.64 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1244, allocations: 4 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1247, allocations: 116.9 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.484e-06/0.1247, allocations: 0 / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004763/0.1252, allocations: 193 kB / 476.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1252, allocations: 85.05 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.1262, allocations: 1.038 MB / 477.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1262, allocations: 25.7 kB / 477.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1264, allocations: 240.1 kB / 478.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1264, allocations: 31.55 kB / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.1265, allocations: 25.72 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1266, allocations: 370.8 kB / 478.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.1267, allocations: 27.98 kB / 478.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.1268, allocations: 55.41 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.127, allocations: 91.86 kB / 478.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.127, allocations: 0 / 478.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002804/0.1273, allocations: 169 kB / 478.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1273, allocations: 10.66 kB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1273, allocations: 0 / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1274, allocations: 4 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1275, allocations: 27.92 kB / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1275, allocations: 0 / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.1276, allocations: 7.906 kB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1276, allocations: 8 kB / 479 MB, free: 5.031 MB / 350.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.0001929/0.1278, allocations: 225.6 kB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.1279, allocations: 55.38 kB / 479.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.1279, allocations: 60 kB / 479.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.128, allocations: 0 / 479.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.128, allocations: 0 / 479.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.128, allocations: 7.922 kB / 479.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1282, allocations: 345.3 kB / 479.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1283, allocations: 0 / 479.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.1283, allocations: 11.98 kB / 479.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1283, allocations: 0 / 479.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1283, allocations: 4 kB / 479.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1283, allocations: 4 kB / 479.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1283, allocations: 0 / 479.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.1286, allocations: 213.2 kB / 479.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1288, allocations: 132.5 kB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.1288, allocations: 7.984 kB / 480 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.1289, allocations: 8 kB / 480 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.129, allocations: 11.98 kB / 480 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.129, allocations: 4 kB / 480 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007057/0.1297, allocations: 0.7721 MB / 480.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1297, allocations: 0 / 480.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.13, allocations: 44 kB / 480.9 MB, free: 3.047 MB / 350.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.0009276/0.1309, allocations: 407 kB / 481.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1312, allocations: 99.89 kB / 481.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1312, allocations: 0 / 481.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1313, allocations: 44.05 kB / 481.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1317, allocations: 81.17 kB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1328, allocations: 0.9229 MB / 482.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1332, allocations: 0.8349 MB / 483.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.1333, allocations: 31.44 kB / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1333, allocations: 0 / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.007357/0.1407, allocations: 5.051 MB / 488.3 MB, free: 11.69 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches