Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009679/0.0009731, allocations: 177.5 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.417/1.417, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0008084/0.0008084, allocations: 92.97 kB / 295.1 MB, free: 9.504 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.349/0.349, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 12 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4067, allocations: 61.9 MB / 0.5127 GB, free: 38.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00215/0.4089, allocations: 1.415 MB / 0.5141 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4102, allocations: 0.8956 MB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.4104, allocations: 7 kB / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.4107, allocations: 46.56 kB / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.4109, allocations: 44.36 kB / 0.5151 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.4113, allocations: 104.1 kB / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.4115, allocations: 112.5 kB / 0.5153 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4116, allocations: 15.84 kB / 0.5153 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4117, allocations: 46.95 kB / 0.5154 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.4118, allocations: 45.88 kB / 0.5154 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4118, allocations: 2.781 kB / 0.5154 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.412, allocations: 55.3 kB / 0.5155 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.412, allocations: 23.95 kB / 0.5155 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.4121, allocations: 63.66 kB / 0.5155 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.4123, allocations: 132.5 kB / 0.5157 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4123, allocations: 0 / 0.5157 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4124, allocations: 2.656 kB / 0.5157 GB, free: 36.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4124, allocations: 0 / 0.5157 GB, free: 36.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005018/0.4129, allocations: 414.8 kB / 0.5161 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4129, allocations: 7.844 kB / 0.5161 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.413, allocations: 14.34 kB / 0.5161 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4132, allocations: 224.8 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4132, allocations: 3.25 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4133, allocations: 6.812 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.4134, allocations: 72.31 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4135, allocations: 0 / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4135, allocations: 3.234 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4135, allocations: 6.5 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4136, allocations: 46.44 kB / 0.5164 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.414, allocations: 319.3 kB / 0.5167 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4142, allocations: 85.69 kB / 0.5168 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.4143, allocations: 34.23 kB / 0.5169 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4143, allocations: 6.844 kB / 0.5169 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.4145, allocations: 81.52 kB / 0.5169 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.4146, allocations: 2.781 kB / 0.5169 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008663/0.4154, allocations: 290.2 kB / 0.5172 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4155, allocations: 55.34 kB / 0.5173 GB, free: 34.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4157, allocations: 187.7 kB / 0.5175 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4157, allocations: 27.73 kB / 0.5175 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.4158, allocations: 105.5 kB / 0.5176 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.4158, allocations: 42.55 kB / 0.5176 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.4158, allocations: 4.969 kB / 0.5176 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.4159, allocations: 323.1 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.416, allocations: 39.06 kB / 0.518 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.4161, allocations: 50.47 kB / 0.518 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.4163, allocations: 106.4 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4163, allocations: 0 / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002834/0.4166, allocations: 148.5 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4166, allocations: 9.469 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4166, allocations: 4.703 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4167, allocations: 2.156 kB / 0.5183 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4168, allocations: 27.39 kB / 0.5183 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4168, allocations: 9.031 kB / 0.5183 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.4169, allocations: 7.812 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4169, allocations: 4.594 kB / 0.5183 GB, free: 33.87 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 (15): * Single equations (assignments): 15 * 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 0.000106/0.417, allocations: 127.5 kB / 0.5184 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.417, allocations: 14.89 kB / 0.5185 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.4171, allocations: 22.31 kB / 0.5185 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4171, allocations: 1.719 kB / 0.5185 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4171, allocations: 7.875 kB / 0.5185 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4171, allocations: 1.844 kB / 0.5185 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.4177, allocations: 490.1 kB / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4177, allocations: 0 / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.4178, allocations: 18.31 kB / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4178, allocations: 0 / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4178, allocations: 3.062 kB / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4178, allocations: 6.969 kB / 0.519 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4178, allocations: 4.062 kB / 0.519 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4181, allocations: 255.8 kB / 0.5192 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.4182, allocations: 93.16 kB / 0.5193 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.4182, allocations: 6.031 kB / 0.5193 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.4183, allocations: 3.281 kB / 0.5193 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.4184, allocations: 16.77 kB / 0.5193 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.4184, allocations: 7.719 kB / 0.5194 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.4186, allocations: 139 kB / 0.5195 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4186, allocations: 3.938 kB / 0.5195 GB, free: 32.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4188, allocations: 34.28 kB / 0.5195 GB, free: 32.92 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: 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 (13): * Single equations (assignments): 11 * 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.001206/0.4201, allocations: 0.5976 MB / 0.5201 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.4203, allocations: 100.3 kB / 0.5202 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4203, allocations: 1.25 kB / 0.5202 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4204, allocations: 57.67 kB / 0.5203 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4208, allocations: 32.28 kB / 0.5203 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.4214, allocations: 297.8 kB / 0.5206 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.4215, allocations: 0.7079 MB / 0.5213 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.4216, allocations: 31.78 kB / 0.5213 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.4217, allocations: 29.36 kB / 0.5213 GB, free: 31.56 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4217, allocations: 0 / 0.5213 GB, free: 31.56 MB / 378.7 MB Notification: Performance of Templates: time 0.004551/0.4262, allocations: 2.021 MB / 0.5233 GB, free: 31.34 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches