Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009551/0.0009554, allocations: 175.4 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.358/1.358, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0009404/0.0009404, allocations: 98.36 kB / 295.1 MB, free: 9.707 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.3789/0.3789, allocations: 44.32 MB / 390.5 MB, free: 38.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002954, allocations: 11.98 kB / 463.1 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3196, allocations: 61.91 MB / 0.5127 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001534/0.3212, allocations: 1.271 MB / 0.514 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3224, allocations: 1.119 MB / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.3225, allocations: 0 / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3227, allocations: 27.91 kB / 0.5151 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.3228, allocations: 27.86 kB / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.323, allocations: 80.23 kB / 0.5152 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3232, allocations: 50.83 kB / 0.5153 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.3233, allocations: 16.98 kB / 0.5153 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.3233, allocations: 21.73 kB / 0.5153 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3235, allocations: 30.91 kB / 0.5153 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3235, allocations: 0 / 0.5153 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.3236, allocations: 45.41 kB / 0.5154 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.3236, allocations: 6.812 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.3237, allocations: 43.69 kB / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3238, allocations: 85.8 kB / 0.5155 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3238, allocations: 4 kB / 0.5155 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3238, allocations: 0 / 0.5155 GB, free: 36.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3238, allocations: 0 / 0.5155 GB, free: 36.13 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.0003494/0.3242, allocations: 376.1 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3242, allocations: 12.03 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.3243, allocations: 7.781 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3244, allocations: 185.1 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3245, allocations: 384 / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3245, allocations: 7.344 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3246, allocations: 68.66 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3247, allocations: 0 / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3247, allocations: 0 / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3247, allocations: 0 / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.3248, allocations: 25.08 kB / 0.5161 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.3251, allocations: 280.1 kB / 0.5164 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3253, allocations: 48.7 kB / 0.5165 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3253, allocations: 14.83 kB / 0.5165 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3253, allocations: 6.094 kB / 0.5165 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.3254, allocations: 34.56 kB / 0.5165 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3254, allocations: 0 / 0.5165 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004843/0.3259, allocations: 153.8 kB / 0.5167 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3259, allocations: 80.11 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.326, allocations: 131.4 kB / 0.5169 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.326, allocations: 32.92 kB / 0.5169 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.3261, allocations: 94.27 kB / 0.517 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3261, allocations: 15.73 kB / 0.517 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.3261, allocations: 4 kB / 0.517 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3261, allocations: 325.1 kB / 0.5173 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.3262, allocations: 20.97 kB / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.3263, allocations: 38.03 kB / 0.5174 GB, free: 34.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3264, allocations: 55.44 kB / 0.5174 GB, free: 34.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3264, allocations: 2.906 kB / 0.5174 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001661/0.3266, allocations: 79.45 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3266, allocations: 5.562 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3266, allocations: 7.719 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3267, allocations: 7.875 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.3267, allocations: 15.72 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3267, allocations: 1.062 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.3268, allocations: 8.75 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3268, allocations: 1.312 kB / 0.5175 GB, free: 34.25 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 6.328e-05/0.3269, allocations: 118.3 kB / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3269, allocations: 10.75 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3271, allocations: 95.98 kB / 0.5178 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3271, allocations: 0 / 0.5178 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3272, allocations: 1.688 kB / 0.5178 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3272, allocations: 3.938 kB / 0.5178 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3275, allocations: 350.7 kB / 0.5181 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3275, allocations: 0 / 0.5181 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.3276, allocations: 17.11 kB / 0.5181 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3276, allocations: 1.094 kB / 0.5181 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3276, allocations: 5.781 kB / 0.5181 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3276, allocations: 7.938 kB / 0.5181 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3276, allocations: 3.984 kB / 0.5181 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3278, allocations: 184.4 kB / 0.5183 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.3279, allocations: 85.95 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3279, allocations: 0.9375 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.328, allocations: 19.8 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.328, allocations: 3.797 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.328, allocations: 1.281 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.523e-05/0.3281, allocations: 102.6 kB / 0.5185 GB, free: 33.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3281, allocations: 1.062 kB / 0.5185 GB, free: 33.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.3283, allocations: 24.45 kB / 0.5185 GB, free: 33.38 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.0009718/0.3293, allocations: 0.507 MB / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.3295, allocations: 60.78 kB / 0.5191 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3295, allocations: 3.062 kB / 0.5191 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.3296, allocations: 25.31 kB / 0.5191 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3299, allocations: 18.45 kB / 0.5191 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3302, allocations: 169.2 kB / 0.5193 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3304, allocations: 0.69 MB / 0.52 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.3305, allocations: 14.69 kB / 0.52 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3305, allocations: 17.11 kB / 0.52 GB, free: 32.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3305, allocations: 0 / 0.52 GB, free: 32.19 MB / 378.7 MB Notification: Performance of Templates: time 0.004096/0.3346, allocations: 1.299 MB / 0.5213 GB, free: 32.02 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches