Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000959/0.000959, allocations: 174 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.6 MB / 222.4 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007258/0.0007258, allocations: 86.75 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3088/0.3088, allocations: 43.67 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003012, allocations: 8 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09412, allocations: 58.85 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001841/0.096, allocations: 1.286 MB / 492.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006525/0.09668, allocations: 396.8 kB / 492.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.09675, allocations: 0 / 492.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.09704, allocations: 87.81 kB / 492.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.09723, allocations: 63.86 kB / 493 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.09752, allocations: 83.83 kB / 493.1 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.09768, allocations: 75.88 kB / 493.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.09779, allocations: 28.38 kB / 493.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.09785, allocations: 27.86 kB / 493.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.09795, allocations: 55.81 kB / 493.2 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.09798, allocations: 0 / 493.2 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.09806, allocations: 27.98 kB / 493.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.09812, allocations: 23.91 kB / 493.3 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.09819, allocations: 57.45 kB / 493.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.09836, allocations: 107.5 kB / 493.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.09837, allocations: 0 / 493.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09838, allocations: 4 kB / 493.5 MB, free: 7.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.09839, allocations: 0 / 493.5 MB, free: 7.469 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.0004713/0.09887, allocations: 399 kB / 493.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.09891, allocations: 8.031 kB / 493.9 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.09897, allocations: 16.75 kB / 493.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.09917, allocations: 196.1 kB / 494.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.09919, allocations: 4.375 kB / 494.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.09922, allocations: 8.375 kB / 494.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.0994, allocations: 87.19 kB / 494.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.09942, allocations: 0 / 494.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.09944, allocations: 8 kB / 494.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.09945, allocations: 0 / 494.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.09957, allocations: 43.95 kB / 494.2 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1, allocations: 404.9 kB / 494.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1003, allocations: 85.22 kB / 494.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.1004, allocations: 37.73 kB / 494.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1004, allocations: 3.938 kB / 494.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1004, allocations: 38.55 kB / 494.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1005, allocations: 4 kB / 494.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006892/0.1011, allocations: 248.7 kB / 495 MB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1012, allocations: 85.11 kB / 495.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1014, allocations: 234.3 kB / 495.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1014, allocations: 29.7 kB / 495.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1015, allocations: 111.9 kB / 495.5 MB, free: 5.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1015, allocations: 31.55 kB / 495.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1015, allocations: 0 / 495.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1016, allocations: 322.8 kB / 495.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.1017, allocations: 39.97 kB / 495.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.1018, allocations: 49.69 kB / 495.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.102, allocations: 97.62 kB / 496 MB, free: 4.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.102, allocations: 0 / 496 MB, free: 4.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002539/0.1023, allocations: 137.6 kB / 496.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1023, allocations: 7.938 kB / 496.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1023, allocations: 0 / 496.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1024, allocations: 0 / 496.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.1024, allocations: 31.98 kB / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1025, allocations: 3.938 kB / 496.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1025, allocations: 4 kB / 496.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1025, allocations: 7.984 kB / 496.2 MB, free: 4.484 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: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.1026, allocations: 134 kB / 496.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.1027, allocations: 7.906 kB / 496.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.103, allocations: 162.4 kB / 496.5 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.103, allocations: 4 kB / 496.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1031, allocations: 3.938 kB / 496.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1031, allocations: 0 / 496.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1037, allocations: 0.5141 MB / 497 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1037, allocations: 4 kB / 497 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.1038, allocations: 24.23 kB / 497 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1038, allocations: 0 / 497 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1038, allocations: 12 kB / 497 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1038, allocations: 4.031 kB / 497 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1038, allocations: 0 / 497 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1041, allocations: 315.9 kB / 497.4 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1042, allocations: 92.95 kB / 497.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1042, allocations: 0 / 497.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1043, allocations: 11.98 kB / 497.5 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1043, allocations: 11.92 kB / 497.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1044, allocations: 4 kB / 497.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1045, allocations: 172.2 kB / 497.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1045, allocations: 0 / 497.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.1048, allocations: 28 kB / 497.7 MB, free: 2.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008707/0.1057, allocations: 458.8 kB / 498.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1059, allocations: 95.88 kB / 498.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1059, allocations: 4 kB / 498.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.106, allocations: 47.92 kB / 498.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1064, allocations: 27.38 kB / 498.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.1069, allocations: 323.4 kB / 498.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1073, allocations: 0.716 MB / 499.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.1073, allocations: 28.39 kB / 499.3 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1074, allocations: 15.44 kB / 499.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1074, allocations: 0 / 499.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003549/0.111, allocations: 1.229 MB / 0.4889 GB, free: 28 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches