Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 178.3 kB / 17.41 MB, free: 4.285 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.448/1.448, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.001195/0.001195, allocations: 96.31 kB / 295.1 MB, free: 9.484 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.3183/0.3183, allocations: 44.32 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002648, allocations: 12 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3183, allocations: 61.89 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00218/0.3205, allocations: 1.402 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3217, allocations: 0.8989 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.3218, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3221, allocations: 47.2 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.3223, allocations: 52.14 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.3226, allocations: 93.77 kB / 0.5152 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3227, allocations: 94.53 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.3228, allocations: 6.734 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.3229, allocations: 48.83 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.323, allocations: 31.56 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.323, allocations: 0 / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.3231, allocations: 39.59 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.3232, allocations: 23.66 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.3233, allocations: 63.73 kB / 0.5155 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3234, allocations: 111 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3235, allocations: 2.688 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3235, allocations: 0 / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3235, allocations: 0 / 0.5156 GB, free: 35.96 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.0004923/0.324, allocations: 416.1 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.324, allocations: 8.656 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.3241, allocations: 15.16 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3243, allocations: 218.5 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3243, allocations: 1.594 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3244, allocations: 5.625 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3245, allocations: 52.78 kB / 0.5163 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3245, allocations: 2.156 kB / 0.5163 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3246, allocations: 3.938 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3246, allocations: 5.531 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.3247, allocations: 21.44 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.325, allocations: 290.2 kB / 0.5166 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3252, allocations: 52.89 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3252, allocations: 25 kB / 0.5166 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3253, allocations: 8.938 kB / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3255, allocations: 62.47 kB / 0.5167 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3255, allocations: 0 / 0.5167 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005331/0.326, allocations: 175.2 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.3261, allocations: 54 kB / 0.5169 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3262, allocations: 232 kB / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3263, allocations: 29.7 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.3263, allocations: 109.3 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3264, allocations: 24.48 kB / 0.5173 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.3264, allocations: 4 kB / 0.5173 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.3264, allocations: 324.9 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.3265, allocations: 22.77 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.3266, allocations: 35.11 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.3267, allocations: 64.91 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3267, allocations: 0 / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001472/0.3268, allocations: 103.2 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3268, allocations: 6.469 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3269, allocations: 3.938 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3269, allocations: 0 / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.327, allocations: 14.56 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.327, allocations: 3.328 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.327, allocations: 10.56 kB / 0.5179 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.327, allocations: 6.719 kB / 0.5179 GB, free: 33.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.3271, allocations: 128.5 kB / 0.518 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.3272, allocations: 9.25 kB / 0.518 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3272, allocations: 25.11 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3272, allocations: 3.984 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3272, allocations: 384 / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3272, allocations: 3.938 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3276, allocations: 407.5 kB / 0.5184 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3276, allocations: 7.938 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.3276, allocations: 12.78 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3276, allocations: 0 / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3277, allocations: 7.031 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3277, allocations: 2.938 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3277, allocations: 0 / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.3278, allocations: 202.9 kB / 0.5187 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.3279, allocations: 87.67 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3279, allocations: 6.75 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.328, allocations: 9.938 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.328, allocations: 10.67 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.328, allocations: 5.922 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.3282, allocations: 166 kB / 0.5189 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3282, allocations: 4 kB / 0.5189 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000228/0.3284, allocations: 20.16 kB / 0.519 GB, free: 33.04 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 (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.001051/0.3295, allocations: 0.5148 MB / 0.5195 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.3296, allocations: 72.7 kB / 0.5195 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3297, allocations: 0 / 0.5195 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.3297, allocations: 29.03 kB / 0.5195 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.33, allocations: 19.33 kB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3305, allocations: 290.7 kB / 0.5198 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3307, allocations: 0.7087 MB / 0.5205 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.3308, allocations: 17.5 kB / 0.5206 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3308, allocations: 18.44 kB / 0.5206 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3308, allocations: 0 / 0.5206 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.003991/0.3348, allocations: 1.633 MB / 0.5222 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches