Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 174 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.238/1.238, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007442/0.0007444, allocations: 96.03 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.2835/0.2835, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 19.98 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001838/0.1069, allocations: 1.398 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1079, allocations: 0.7422 MB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.108, allocations: 3.938 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1083, allocations: 39.89 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1084, allocations: 43.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.1087, allocations: 75.84 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1088, allocations: 75.7 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.1089, allocations: 20.2 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.109, allocations: 43.78 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.109, allocations: 27.86 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1091, allocations: 0 / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.1091, allocations: 31.98 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.1092, allocations: 19.91 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1093, allocations: 61.44 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1094, allocations: 92.03 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1094, allocations: 0 / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1094, allocations: 0 / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1094, allocations: 0 / 493.5 MB, free: 8.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004816/0.1099, allocations: 403.1 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.11, allocations: 16.02 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.11, allocations: 8.844 kB / 493.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1102, allocations: 204.7 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1102, allocations: 384 / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1102, allocations: 12.11 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1104, allocations: 53.67 kB / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1104, allocations: 7.875 kB / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1104, allocations: 4 kB / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1104, allocations: 0 / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1105, allocations: 27.97 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1109, allocations: 284.9 kB / 494.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.111, allocations: 54.62 kB / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1111, allocations: 28.84 kB / 494.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1111, allocations: 0 / 494.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1113, allocations: 67.39 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1113, allocations: 0 / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005136/0.1118, allocations: 169.4 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1119, allocations: 51.41 kB / 494.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1121, allocations: 204.6 kB / 495.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1121, allocations: 29.7 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1121, allocations: 104.1 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1122, allocations: 23.7 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1122, allocations: 4 kB / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1123, allocations: 326.8 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.1124, allocations: 16 kB / 495.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.1125, allocations: 37.7 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1126, allocations: 61.64 kB / 495.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1126, allocations: 0 / 495.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.1128, allocations: 105.6 kB / 495.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1128, allocations: 11.28 kB / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1128, allocations: 3.984 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1128, allocations: 4 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.1129, allocations: 12 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1129, allocations: 4.156 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.113, allocations: 7.969 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.113, allocations: 7.984 kB / 495.8 MB, free: 5.664 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 (10): * Single equations (assignments): 10 * 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.0001104/0.1131, allocations: 137.6 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1131, allocations: 7.906 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1132, allocations: 21.33 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1132, allocations: 4 kB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1132, allocations: 0 / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1132, allocations: 3.938 kB / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1136, allocations: 399.2 kB / 496.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1136, allocations: 4 kB / 496.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1137, allocations: 11.98 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1137, allocations: 0 / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1137, allocations: 3.938 kB / 496.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1137, allocations: 0 / 496.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1137, allocations: 4 kB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1139, allocations: 200.3 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.114, allocations: 88.91 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.114, allocations: 11.94 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.1141, allocations: 4 kB / 496.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1141, allocations: 7.922 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1141, allocations: 4.188 kB / 496.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1143, allocations: 160.9 kB / 496.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1143, allocations: 3.938 kB / 496.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.1145, allocations: 20 kB / 496.9 MB, free: 4.484 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 (8): * Single equations (assignments): 6 * 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.0009138/0.1154, allocations: 457.2 kB / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1156, allocations: 59.91 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1156, allocations: 0 / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.1157, allocations: 27.98 kB / 497.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.116, allocations: 27.92 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.1165, allocations: 280.2 kB / 497.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1168, allocations: 0.7004 MB / 498.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1168, allocations: 15.44 kB / 498.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1168, allocations: 0 / 498.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of Templates: time 0.003204/0.12, allocations: 1.906 MB / 0.4886 GB, free: 1.004 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches