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.001057/0.001057, allocations: 112.8 kB / 17.08 MB, free: 5.816 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.001002/0.001002, allocations: 193.3 kB / 18.01 MB, free: 4.965 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.306/1.306, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.192/0.192, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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.001374/0.001374, allocations: 80.22 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003213/0.1228, allocations: 1.779 MB / 0.4903 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1244, allocations: 0.8702 MB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1245, allocations: 4 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.125, allocations: 315.3 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.1254, allocations: 215.3 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1258, allocations: 135.7 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.1262, allocations: 243.4 kB / 0.4921 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.1263, allocations: 17.53 kB / 0.4921 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1265, allocations: 127.5 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1268, allocations: 195.4 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1268, allocations: 8 kB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.127, allocations: 47.97 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1272, allocations: 135.6 kB / 0.4926 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1274, allocations: 150.7 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.1278, allocations: 366.7 kB / 0.4931 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1278, allocations: 3.984 kB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1278, allocations: 0 / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1278, allocations: 0 / 0.4931 GB, free: 7.156 MB / 382.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.0009494/0.1288, allocations: 0.719 MB / 0.4938 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.566e-05/0.1289, allocations: 15.89 kB / 0.4938 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.129, allocations: 48.36 kB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1297, allocations: 459.7 kB / 0.4943 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1297, allocations: 4.359 kB / 0.4943 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1298, allocations: 12.12 kB / 0.4943 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.13, allocations: 83.36 kB / 0.4944 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.13, allocations: 0 / 0.4944 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.13, allocations: 4 kB / 0.4944 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.13, allocations: 7.984 kB / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1302, allocations: 27.92 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1306, allocations: 374.4 kB / 0.4948 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1309, allocations: 105.2 kB / 0.4949 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.131, allocations: 45.64 kB / 0.4949 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.131, allocations: 7.984 kB / 0.4949 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.1313, allocations: 105.1 kB / 0.495 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1313, allocations: 0 / 0.495 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005509/0.1319, allocations: 196.9 kB / 0.4952 GB, free: 4.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1319, allocations: 85.11 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.133, allocations: 1.038 MB / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.133, allocations: 29.7 kB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1332, allocations: 232.1 kB / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1333, allocations: 23.7 kB / 0.4966 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1333, allocations: 25.72 kB / 0.4966 GB, free: 3.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1335, allocations: 374.8 kB / 0.4969 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.1336, allocations: 31.98 kB / 0.497 GB, free: 2.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.1337, allocations: 55.42 kB / 0.497 GB, free: 2.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1339, allocations: 91.28 kB / 0.4971 GB, free: 2.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1339, allocations: 8 kB / 0.4971 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003123/0.1342, allocations: 164.9 kB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1342, allocations: 4 kB / 0.4973 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1342, allocations: 4.625 kB / 0.4973 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1343, allocations: 0 / 0.4973 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1344, allocations: 27.92 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1344, allocations: 4 kB / 0.4973 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1345, allocations: 15.86 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1345, allocations: 8.062 kB / 0.4973 GB, free: 2.48 MB / 382.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.0002069/0.1347, allocations: 233.6 kB / 0.4976 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.1348, allocations: 51.33 kB / 0.4976 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.1349, allocations: 60 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1349, allocations: 0 / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1349, allocations: 4 kB / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1349, allocations: 0 / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.1353, allocations: 341.4 kB / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1354, allocations: 0 / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.1354, allocations: 11.92 kB / 0.498 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1354, allocations: 8 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1354, allocations: 4 kB / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1354, allocations: 0 / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1354, allocations: 4 kB / 0.498 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1358, allocations: 201.2 kB / 0.4982 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1359, allocations: 140.4 kB / 0.4984 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1359, allocations: 4 kB / 0.4984 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.136, allocations: 8 kB / 0.4984 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1361, allocations: 7.984 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1361, allocations: 4 kB / 0.4984 GB, free: 1.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007731/0.1369, allocations: 0.7721 MB / 0.4991 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1369, allocations: 0 / 0.4991 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1372, allocations: 40 kB / 0.4992 GB, free: 0.5117 MB / 382.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.0009994/0.1382, allocations: 432.1 kB / 0.4996 GB, free: 128 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1384, allocations: 83.83 kB / 0.4997 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1384, allocations: 0 / 0.4997 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1385, allocations: 39.97 kB / 0.4997 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.139, allocations: 70.06 kB / 0.4998 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1403, allocations: 0.9073 MB / 0.5007 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.1408, allocations: 0.8466 MB / 0.5015 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1409, allocations: 27.44 kB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1409, allocations: 0 / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of Templates: time 0.007692/0.1486, allocations: 5.092 MB / 0.5065 GB, free: 8.996 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches