Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 174.2 kB / 17.41 MB, free: 4.293 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.357/1.357, allocations: 225.7 MB / 243.9 MB, free: 10.22 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.001076/0.001076, allocations: 82.03 kB / 295 MB, free: 9.738 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.3305/0.3305, allocations: 44.32 MB / 390.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 11.94 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 61.88 MB / 0.5127 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001642/0.3136, allocations: 1.267 MB / 0.514 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3147, allocations: 1.125 MB / 0.5151 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.3147, allocations: 2.469 kB / 0.5151 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3149, allocations: 24.91 kB / 0.5151 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3151, allocations: 35.48 kB / 0.5151 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3153, allocations: 78 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3154, allocations: 51.67 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3155, allocations: 17.53 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.3155, allocations: 18.31 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3157, allocations: 23.69 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3157, allocations: 0 / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.3158, allocations: 46.25 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.3158, allocations: 10.75 kB / 0.5154 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3159, allocations: 43.67 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.316, allocations: 86.02 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.316, allocations: 0 / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.316, allocations: 4 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.316, allocations: 0 / 0.5155 GB, free: 36.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003619/0.3164, allocations: 374.5 kB / 0.5158 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3164, allocations: 9 kB / 0.5159 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3165, allocations: 8.203 kB / 0.5159 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3166, allocations: 185 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3167, allocations: 7.219 kB / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3167, allocations: 384 / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3168, allocations: 72.64 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3168, allocations: 4 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3168, allocations: 0 / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3169, allocations: 0.6562 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.3169, allocations: 30.25 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.3172, allocations: 277.8 kB / 0.5164 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3174, allocations: 43.62 kB / 0.5165 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.3175, allocations: 21.48 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3175, allocations: 0 / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.3175, allocations: 41.73 kB / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3175, allocations: 3 kB / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004597/0.318, allocations: 151.3 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.318, allocations: 84.02 kB / 0.5167 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.3181, allocations: 132.3 kB / 0.5169 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.3181, allocations: 30.7 kB / 0.5169 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.3182, allocations: 89.75 kB / 0.517 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3182, allocations: 18 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.3182, allocations: 0 / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.3183, allocations: 328.2 kB / 0.5173 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.3183, allocations: 17.28 kB / 0.5173 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.3184, allocations: 37.19 kB / 0.5174 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3185, allocations: 57.27 kB / 0.5174 GB, free: 34.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3185, allocations: 0 / 0.5174 GB, free: 34.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.3187, allocations: 89.7 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3187, allocations: 2.875 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3187, allocations: 0 / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3187, allocations: 6.906 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3188, allocations: 14.69 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3188, allocations: 0 / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.3189, allocations: 9.938 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3189, allocations: 2.953 kB / 0.5175 GB, free: 34.16 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 (5): * Single equations (assignments): 5 * 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 5.464e-05/0.3189, allocations: 116.8 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.319, allocations: 9.438 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.3192, allocations: 99.34 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3192, allocations: 0 / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3192, allocations: 0 / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3192, allocations: 2.844 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3195, allocations: 357.7 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3195, allocations: 0 / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.3196, allocations: 14.5 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3196, allocations: 3.938 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3196, allocations: 2.469 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3196, allocations: 7.875 kB / 0.5181 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3196, allocations: 7.938 kB / 0.5181 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3198, allocations: 179.6 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.3198, allocations: 84.14 kB / 0.5184 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3198, allocations: 10.2 kB / 0.5184 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.3199, allocations: 12.94 kB / 0.5184 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.3199, allocations: 5.828 kB / 0.5184 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3199, allocations: 3.984 kB / 0.5184 GB, free: 33.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.32, allocations: 102.5 kB / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.32, allocations: 0 / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.3202, allocations: 25.16 kB / 0.5185 GB, free: 33.29 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 (5): * Single equations (assignments): 5 * 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.0009046/0.3211, allocations: 0.5078 MB / 0.519 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3213, allocations: 54.98 kB / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3213, allocations: 7.938 kB / 0.5191 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.3214, allocations: 26.22 kB / 0.5191 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3217, allocations: 15.94 kB / 0.5191 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.322, allocations: 165 kB / 0.5193 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3221, allocations: 0.6903 MB / 0.52 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.3222, allocations: 16.53 kB / 0.52 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.3222, allocations: 12.84 kB / 0.52 GB, free: 32.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3222, allocations: 0 / 0.52 GB, free: 32.1 MB / 378.7 MB Notification: Performance of Templates: time 0.003292/0.3255, allocations: 1.299 MB / 0.5213 GB, free: 31.94 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches