Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008664/0.0008662, allocations: 175.1 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007503/0.0007502, allocations: 93.06 kB / 295 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3128/0.3128, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 19.98 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 61.89 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001643/0.3234, allocations: 1.274 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.3241, allocations: 468.1 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.3242, allocations: 6.719 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3244, allocations: 28.42 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3245, allocations: 22.61 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3248, allocations: 88.41 kB / 0.5146 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3249, allocations: 60.73 kB / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.325, allocations: 9.156 kB / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.325, allocations: 23.61 kB / 0.5147 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.3251, allocations: 27.12 kB / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3251, allocations: 0 / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.3252, allocations: 46.67 kB / 0.5147 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.3253, allocations: 12.44 kB / 0.5147 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.3253, allocations: 43.05 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3255, allocations: 107.9 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3255, allocations: 0 / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3255, allocations: 0 / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3255, allocations: 0 / 0.5149 GB, free: 36.44 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.0003883/0.3259, allocations: 375.1 kB / 0.5152 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3259, allocations: 8.312 kB / 0.5152 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.326, allocations: 7.531 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3261, allocations: 197.1 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.3262, allocations: 4.375 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3262, allocations: 3.219 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3263, allocations: 78.38 kB / 0.5155 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3264, allocations: 4 kB / 0.5155 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3264, allocations: 0 / 0.5155 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3264, allocations: 0 / 0.5155 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.3265, allocations: 31.03 kB / 0.5156 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.3268, allocations: 294.8 kB / 0.5158 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3269, allocations: 60.53 kB / 0.5159 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.327, allocations: 31.75 kB / 0.5159 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.327, allocations: 0 / 0.5159 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3271, allocations: 41.72 kB / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3271, allocations: 2.906 kB / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005598/0.3276, allocations: 202.3 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3277, allocations: 85.11 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3279, allocations: 139.3 kB / 0.5164 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3279, allocations: 25.7 kB / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3279, allocations: 91.08 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3279, allocations: 29.77 kB / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.328, allocations: 0 / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.328, allocations: 325 kB / 0.5168 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.3281, allocations: 38.91 kB / 0.5169 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.3282, allocations: 49.31 kB / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3284, allocations: 83.98 kB / 0.517 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3284, allocations: 4.031 kB / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001916/0.3286, allocations: 115.1 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3286, allocations: 5.875 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3286, allocations: 0 / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3286, allocations: 3.422 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.3287, allocations: 20.55 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3287, allocations: 6.781 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.3288, allocations: 9.438 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.3288, allocations: 3.938 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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 6.172e-05/0.3289, allocations: 125.1 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3289, allocations: 13.75 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.3291, allocations: 118.5 kB / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3291, allocations: 1.625 kB / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3292, allocations: 0 / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3292, allocations: 1.312 kB / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3296, allocations: 402 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.3296, allocations: 1.734 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.3297, allocations: 17.06 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3297, allocations: 1.125 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3297, allocations: 5.641 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3297, allocations: 1.391 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3297, allocations: 0 / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3299, allocations: 218.1 kB / 0.518 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.33, allocations: 90.05 kB / 0.5181 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.33, allocations: 5.094 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.3301, allocations: 11.02 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.3301, allocations: 5.391 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3301, allocations: 6.719 kB / 0.5181 GB, free: 33.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.3302, allocations: 107.6 kB / 0.5182 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3302, allocations: 1.531 kB / 0.5182 GB, free: 33.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.3305, allocations: 26.61 kB / 0.5183 GB, free: 33.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009472/0.3314, allocations: 0.5013 MB / 0.5187 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3317, allocations: 79.81 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3317, allocations: 4 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.3318, allocations: 39.97 kB / 0.5189 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3321, allocations: 18.69 kB / 0.5189 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3324, allocations: 223.7 kB / 0.5191 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.3326, allocations: 0.6923 MB / 0.5198 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.083e-05/0.3327, allocations: 17.12 kB / 0.5198 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.3327, allocations: 16.38 kB / 0.5198 GB, free: 32.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3327, allocations: 0 / 0.5198 GB, free: 32.34 MB / 378.7 MB Notification: Performance of Templates: time 0.003739/0.3364, allocations: 1.513 MB / 0.5213 GB, free: 32.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches