Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,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.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.229/1.229, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007342/0.0007342, allocations: 94.41 kB / 271.2 MB, free: 8.238 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.32/0.32, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001918/0.1071, allocations: 1.475 MB / 492.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1083, allocations: 0.8201 MB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.1084, allocations: 0 / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1088, allocations: 291.4 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1091, allocations: 195.5 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1094, allocations: 123.8 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1097, allocations: 199.4 kB / 493.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.1097, allocations: 25.45 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1099, allocations: 111.6 kB / 494.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1101, allocations: 159.5 kB / 494.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1101, allocations: 4 kB / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.1102, allocations: 32 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1104, allocations: 135.6 kB / 494.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1105, allocations: 148.7 kB / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1108, allocations: 275.8 kB / 494.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1108, allocations: 0 / 494.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1108, allocations: 0 / 494.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1108, allocations: 0 / 494.8 MB, free: 6.898 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.0007775/0.1116, allocations: 0.661 MB / 495.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1116, allocations: 12.03 kB / 495.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.1117, allocations: 44.38 kB / 495.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.1122, allocations: 436 kB / 495.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1122, allocations: 12.36 kB / 495.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1123, allocations: 12.06 kB / 496 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1125, allocations: 79.38 kB / 496 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1125, allocations: 0 / 496 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1125, allocations: 3.984 kB / 496 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1125, allocations: 0 / 496 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.1126, allocations: 31.92 kB / 496.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.113, allocations: 382.2 kB / 496.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1132, allocations: 101.2 kB / 496.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1133, allocations: 45.64 kB / 496.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1134, allocations: 0 / 496.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1136, allocations: 116.9 kB / 496.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1136, allocations: 0 / 496.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004465/0.114, allocations: 193 kB / 496.9 MB, free: 4.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1141, allocations: 85.11 kB / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/0.1151, allocations: 1.007 MB / 498 MB, free: 3.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1151, allocations: 29.69 kB / 498 MB, free: 3.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1153, allocations: 228 kB / 498.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.1153, allocations: 35.69 kB / 498.3 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1154, allocations: 0 / 498.3 MB, free: 3.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1155, allocations: 362.8 kB / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.1156, allocations: 27.98 kB / 498.6 MB, free: 2.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.1157, allocations: 67.36 kB / 498.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1159, allocations: 87.34 kB / 498.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1159, allocations: 0 / 498.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002626/0.1161, allocations: 165 kB / 499 MB, free: 2.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1162, allocations: 11.98 kB / 499 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1162, allocations: 0 / 499 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1162, allocations: 0 / 499 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1163, allocations: 20 kB / 499 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1163, allocations: 7.922 kB / 499 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1164, allocations: 23.83 kB / 499 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1164, allocations: 4 kB / 499 MB, free: 2.379 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.0001984/0.1166, allocations: 233.6 kB / 499.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.1167, allocations: 47.34 kB / 499.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.1168, allocations: 59.84 kB / 499.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1168, allocations: 0.625 kB / 499.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1168, allocations: 0 / 499.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1168, allocations: 4 kB / 499.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1171, allocations: 333.4 kB / 499.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1171, allocations: 4 kB / 499.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.1171, allocations: 11.98 kB / 499.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1171, allocations: 3.938 kB / 499.7 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1172, allocations: 4 kB / 499.7 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1172, allocations: 7.938 kB / 499.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1172, allocations: 0 / 499.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1175, allocations: 197.2 kB / 499.9 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1176, allocations: 152.3 kB / 0.4883 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.1177, allocations: 0 / 0.4883 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.1178, allocations: 15.98 kB / 0.4884 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1178, allocations: 8 kB / 0.4884 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1178, allocations: 7.984 kB / 0.4884 GB, free: 1.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007366/0.1186, allocations: 0.7487 MB / 0.4891 GB, free: 476 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1186, allocations: 0 / 0.4891 GB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.1188, allocations: 40 kB / 0.4891 GB, free: 436 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.0008396/0.1197, allocations: 406.9 kB / 0.4895 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1855/0.3052, allocations: 84.62 kB / 0.4896 GB, free: 43.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.3052, allocations: 0 / 0.4896 GB, free: 43.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3054, allocations: 38.22 kB / 0.4896 GB, free: 43.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.3061, allocations: 66.47 kB / 0.4897 GB, free: 43.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3078, allocations: 0.9284 MB / 0.4906 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3082, allocations: 0.8424 MB / 0.4914 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3083, allocations: 29.14 kB / 0.4915 GB, free: 42.45 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3083, allocations: 0 / 0.4915 GB, free: 42.45 MB / 378.7 MB Notification: Performance of Templates: time 0.009736/0.3181, allocations: 4.88 MB / 0.4962 GB, free: 41.92 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches