Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.3/1.3, 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.0007498/0.00075, allocations: 90.41 kB / 271.2 MB, free: 8.254 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.2869/0.2869, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 15.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09404, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001784/0.09586, allocations: 1.402 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.09689, allocations: 0.7383 MB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.09696, allocations: 0 / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.09721, allocations: 39.83 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.09737, allocations: 47.83 kB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.09759, allocations: 83.83 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.09775, allocations: 79.77 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.09783, allocations: 8.219 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.09791, allocations: 43.77 kB / 493.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.09798, allocations: 27.86 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.098, allocations: 0 / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.09808, allocations: 43.84 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.09814, allocations: 23.92 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.0982, allocations: 49.52 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.09833, allocations: 92.08 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09834, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09835, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.09836, allocations: 0 / 493.5 MB, free: 7.961 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.0004499/0.09881, allocations: 399.1 kB / 493.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.09885, allocations: 12.03 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.09889, allocations: 8.844 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.0991, allocations: 220.6 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.09913, allocations: 384 / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.09915, allocations: 12.06 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.09929, allocations: 53.67 kB / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.0993, allocations: 0 / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.09933, allocations: 3.984 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.09934, allocations: 0 / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.0994, allocations: 19.98 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.09974, allocations: 292.8 kB / 494.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.09989, allocations: 58.67 kB / 494.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.09995, allocations: 16.86 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.09998, allocations: 3.984 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1001, allocations: 79.27 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1002, allocations: 0 / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004733/0.1006, allocations: 161.3 kB / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1007, allocations: 59.33 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1009, allocations: 200.7 kB / 495.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1009, allocations: 29.7 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1009, allocations: 100.1 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.101, allocations: 23.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.101, allocations: 4 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1011, allocations: 326.8 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.1011, allocations: 23.98 kB / 495.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1012, allocations: 33.7 kB / 495.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1013, allocations: 61.64 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1013, allocations: 0 / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1015, allocations: 105.5 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1015, allocations: 4 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1015, allocations: 0 / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1015, allocations: 0 / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.1016, allocations: 24.3 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1017, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1017, allocations: 7.938 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1017, allocations: 8 kB / 495.8 MB, free: 5.43 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 9.929e-05/0.1018, allocations: 137.2 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1019, allocations: 7.906 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.1019, allocations: 13.41 kB / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1019, allocations: 4 kB / 496 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1019, allocations: 3.938 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1019, allocations: 3.938 kB / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.1023, allocations: 399.4 kB / 496.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1023, allocations: 4.031 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.1024, allocations: 8 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1024, allocations: 0 / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1024, allocations: 7.938 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1024, allocations: 4.078 kB / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1024, allocations: 7.922 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1026, allocations: 192.3 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1027, allocations: 101.1 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1027, allocations: 3.938 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1028, allocations: 7.938 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1028, allocations: 7.984 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1028, allocations: 4 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1029, allocations: 156.9 kB / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.103, allocations: 0 / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.1032, allocations: 19.98 kB / 496.9 MB, free: 4.258 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.0008638/0.1041, allocations: 466.1 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1042, allocations: 47.98 kB / 497.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1042, allocations: 0 / 497.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.1043, allocations: 43.97 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1046, allocations: 27.25 kB / 497.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.105, allocations: 272.2 kB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1053, allocations: 0.7004 MB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.1053, allocations: 23.42 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1053, allocations: 0 / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of Templates: time 0.003125/0.1084, allocations: 1.903 MB / 0.4886 GB, free: 0.7695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches