Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008617/0.0008618, allocations: 178.5 kB / 16.72 MB, free: 4.961 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.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007543/0.0007543, allocations: 95.78 kB / 271.2 MB, free: 8.234 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.2858/0.2858, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 16 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1003, allocations: 58.85 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001819/0.1022, allocations: 1.413 MB / 492.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1032, allocations: 0.7461 MB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1033, allocations: 8 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1036, allocations: 99.72 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1038, allocations: 67.78 kB / 493.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1041, allocations: 75.86 kB / 493.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1042, allocations: 111.7 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.1043, allocations: 15.97 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.1044, allocations: 55.7 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.464e-05/0.1045, allocations: 59.81 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1045, allocations: 4 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.1046, allocations: 35.98 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.1047, allocations: 27.91 kB / 493.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1048, allocations: 65.38 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1049, allocations: 108.1 kB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1049, allocations: 0 / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1049, allocations: 0 / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1049, allocations: 0 / 493.7 MB, free: 7.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004662/0.1054, allocations: 426.8 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1054, allocations: 8.031 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1055, allocations: 16.75 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1057, allocations: 231.6 kB / 494.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1057, allocations: 384 / 494.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1058, allocations: 16.12 kB / 494.4 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1059, allocations: 61.66 kB / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1059, allocations: 0 / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1059, allocations: 4 kB / 494.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.106, allocations: 0 / 494.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.106, allocations: 31.92 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1064, allocations: 320.7 kB / 494.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1066, allocations: 82.7 kB / 494.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1067, allocations: 28.84 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1067, allocations: 0 / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1069, allocations: 71.38 kB / 495 MB, free: 6.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1069, allocations: 4 kB / 495 MB, free: 6.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005553/0.1074, allocations: 225 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1075, allocations: 55.41 kB / 495.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1077, allocations: 250.4 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1077, allocations: 25.7 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1078, allocations: 116 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1078, allocations: 35.55 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1078, allocations: 4 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.108, allocations: 330.8 kB / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.108, allocations: 27.98 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.1081, allocations: 49.62 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1083, allocations: 81.77 kB / 496.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1083, allocations: 0 / 496.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002108/0.1085, allocations: 129.4 kB / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1085, allocations: 11.97 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1085, allocations: 0 / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1085, allocations: 4 kB / 496.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1086, allocations: 23.98 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1087, allocations: 3.938 kB / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1087, allocations: 8 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1087, allocations: 7.984 kB / 496.3 MB, free: 5.094 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 (13): * Single equations (assignments): 13 * 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.00011/0.1089, allocations: 145.4 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1089, allocations: 19.81 kB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.1089, allocations: 21.41 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1089, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.109, allocations: 3.938 kB / 496.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.109, allocations: 3.984 kB / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1094, allocations: 443.3 kB / 497 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1094, allocations: 3.984 kB / 497 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.1095, allocations: 23.91 kB / 497 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1095, allocations: 4 kB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1095, allocations: 0 / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1095, allocations: 96 / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1095, allocations: 7.938 kB / 497 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1098, allocations: 228.1 kB / 497.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1099, allocations: 100.8 kB / 497.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1099, allocations: 11.98 kB / 497.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.11, allocations: 4 kB / 497.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.11, allocations: 7.984 kB / 497.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.11, allocations: 4 kB / 497.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1102, allocations: 188.2 kB / 497.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1102, allocations: 0 / 497.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.1104, allocations: 31.98 kB / 497.6 MB, free: 3.762 MB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0008849/0.1113, allocations: 460.8 kB / 498 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1115, allocations: 83.84 kB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1115, allocations: 0 / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/0.1116, allocations: 44.05 kB / 498.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1119, allocations: 31.92 kB / 498.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1124, allocations: 348.5 kB / 498.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1127, allocations: 0.7206 MB / 499.2 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1127, allocations: 19.44 kB / 499.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/0.1127, allocations: 3.938 kB / 499.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of Templates: time 0.1588/0.2716, allocations: 2.205 MB / 0.4897 GB, free: 42.65 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches