Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 178.2 kB / 16.41 MB, free: 5.707 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.421/1.421, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007976/0.0007978, allocations: 82.36 kB / 270.9 MB, free: 8.367 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.3114/0.3114, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001762/0.1043, allocations: 1.361 MB / 491.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1053, allocations: 0.7278 MB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.1054, allocations: 3.938 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1056, allocations: 55.86 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1058, allocations: 55.81 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.106, allocations: 71.84 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1061, allocations: 87.69 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1062, allocations: 11.98 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.1063, allocations: 35.84 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.1064, allocations: 39.83 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1064, allocations: 0 / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.1065, allocations: 23.94 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1065, allocations: 19.97 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1066, allocations: 37.64 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1067, allocations: 80.05 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1067, allocations: 0 / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1067, allocations: 4 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.1067, allocations: 0 / 492.8 MB, free: 8.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004498/0.1072, allocations: 398.8 kB / 493.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1072, allocations: 8.031 kB / 493.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1072, allocations: 7.906 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1074, allocations: 202.9 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1075, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1075, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1076, allocations: 57.67 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1076, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1076, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1076, allocations: 3.953 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.1077, allocations: 19.92 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1079, allocations: 181.6 kB / 493.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.108, allocations: 46.62 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.1081, allocations: 24.84 kB / 493.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1081, allocations: 7.938 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1083, allocations: 63.39 kB / 493.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1083, allocations: 0 / 493.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002442/0.1086, allocations: 93.52 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1086, allocations: 55.36 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1088, allocations: 186.2 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1088, allocations: 33.7 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.1088, allocations: 100.1 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1089, allocations: 7.812 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.1089, allocations: 8 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.109, allocations: 318.8 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.109, allocations: 12 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.1091, allocations: 33.7 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.1091, allocations: 19.94 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1092, allocations: 0 / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001374/0.1093, allocations: 77.58 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1093, allocations: 4 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1093, allocations: 4 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1093, allocations: 0 / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.1094, allocations: 11.94 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1094, allocations: 3.953 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.1095, allocations: 15.92 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1095, allocations: 4 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.801e-05/0.1096, allocations: 125.8 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1096, allocations: 7.906 kB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.1096, allocations: 16.59 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1097, allocations: 0 / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1097, allocations: 0 / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1097, allocations: 7.953 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1098, allocations: 185.6 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1098, allocations: 0 / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.1098, allocations: 7.984 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1098, allocations: 0 / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1098, allocations: 0 / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1099, allocations: 4 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1099, allocations: 0 / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.11, allocations: 116.8 kB / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1101, allocations: 92.86 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1101, allocations: 8 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.1102, allocations: 3.984 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1102, allocations: 4 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1102, allocations: 0 / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1103, allocations: 144 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1103, allocations: 4 kB / 495.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.1105, allocations: 20 kB / 495.5 MB, free: 5.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000743/0.1113, allocations: 408.9 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1114, allocations: 39.92 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1115, allocations: 4 kB / 496 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.1115, allocations: 15.98 kB / 496 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1118, allocations: 27.88 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.1121, allocations: 242.9 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1124, allocations: 0.6965 MB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.1124, allocations: 19.42 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1124, allocations: 0 / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of Templates: time 0.002912/0.1153, allocations: 1.668 MB / 498.7 MB, free: 2.453 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches