Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008828/0.0008829, allocations: 170.7 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.0007727, allocations: 86.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3232/0.3232, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 16 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001762/0.1144, allocations: 1.476 MB / 492.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1157, allocations: 0.8201 MB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.1158, allocations: 4 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1161, allocations: 299.4 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.1164, allocations: 203.5 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1167, allocations: 119.8 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1169, allocations: 207.4 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.117, allocations: 9.547 kB / 494 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1171, allocations: 115.6 kB / 494.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1173, allocations: 163.5 kB / 494.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1173, allocations: 8 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.1174, allocations: 35.92 kB / 494.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1175, allocations: 131.6 kB / 494.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1176, allocations: 168.6 kB / 494.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1179, allocations: 267.8 kB / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1179, allocations: 4 kB / 494.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1179, allocations: 0 / 494.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1179, allocations: 0 / 494.8 MB, free: 6.852 MB / 378.7 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.0006455/0.1186, allocations: 0.6689 MB / 495.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.279e-05/0.1186, allocations: 8.031 kB / 495.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1187, allocations: 48.28 kB / 495.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.1191, allocations: 447.8 kB / 496 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1192, allocations: 4.359 kB / 496 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1192, allocations: 8.125 kB / 496 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1193, allocations: 79.38 kB / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1194, allocations: 3.984 kB / 496.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1194, allocations: 4 kB / 496.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1194, allocations: 7.984 kB / 496.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.1195, allocations: 31.92 kB / 496.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1198, allocations: 382.2 kB / 496.5 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.12, allocations: 109.2 kB / 496.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.1201, allocations: 41.64 kB / 496.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1201, allocations: 7.922 kB / 496.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1204, allocations: 109 kB / 496.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1204, allocations: 0 / 496.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003943/0.1208, allocations: 193 kB / 496.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1208, allocations: 81.05 kB / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1219, allocations: 1.038 MB / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1219, allocations: 29.7 kB / 498.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.122, allocations: 232 kB / 498.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1221, allocations: 27.64 kB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.1221, allocations: 12 kB / 498.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1222, allocations: 362.8 kB / 498.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.1223, allocations: 27.98 kB / 498.7 MB, free: 2.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.1224, allocations: 59.41 kB / 498.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1226, allocations: 91.86 kB / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1226, allocations: 0 / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002643/0.1229, allocations: 168.9 kB / 499.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1229, allocations: 8 kB / 499.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1229, allocations: 0 / 499.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.1229, allocations: 0 / 499.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.123, allocations: 27.92 kB / 499.1 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.123, allocations: 0 / 499.1 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.1231, allocations: 16.06 kB / 499.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1232, allocations: 4 kB / 499.1 MB, free: 2.285 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.1234, allocations: 229.5 kB / 499.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1234, allocations: 51.34 kB / 499.4 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.1235, allocations: 64 kB / 499.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1235, allocations: 3.938 kB / 499.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1235, allocations: 0 / 499.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1235, allocations: 3.984 kB / 499.5 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1238, allocations: 345.4 kB / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1238, allocations: 0 / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1239, allocations: 11.98 kB / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1239, allocations: 0 / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1239, allocations: 7.938 kB / 499.8 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1239, allocations: 0 / 499.8 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1239, allocations: 0 / 499.8 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1242, allocations: 209.1 kB / 0.4883 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1243, allocations: 148.4 kB / 0.4884 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1244, allocations: 0 / 0.4884 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.1245, allocations: 12.11 kB / 0.4884 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1245, allocations: 11.98 kB / 0.4885 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1245, allocations: 7.984 kB / 0.4885 GB, free: 1.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007315/0.1253, allocations: 0.7721 MB / 0.4892 GB, free: 340 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1253, allocations: 0 / 0.4892 GB, free: 340 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.1255, allocations: 44 kB / 0.4893 GB, free: 296 kB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1834/0.3089, allocations: 401.9 kB / 0.4896 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.3093, allocations: 78.61 kB / 0.4897 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3093, allocations: 0 / 0.4897 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3094, allocations: 39 kB / 0.4898 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.31, allocations: 65.95 kB / 0.4898 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3113, allocations: 0.9655 MB / 0.4908 GB, free: 43.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3117, allocations: 0.8413 MB / 0.4916 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.3117, allocations: 27.48 kB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3117, allocations: 0 / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of Templates: time 0.009124/0.3209, allocations: 4.987 MB / 0.4965 GB, free: 41.96 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches