Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 177.8 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.425/1.425, allocations: 225.7 MB / 243.9 MB, free: 10.2 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.001061/0.001061, allocations: 96.72 kB / 295.1 MB, free: 9.727 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.3824/0.3824, allocations: 44.32 MB / 390.5 MB, free: 38.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 16 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 61.89 MB / 0.5127 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002109/0.3163, allocations: 1.585 MB / 0.5143 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3175, allocations: 1.012 MB / 0.5153 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.3177, allocations: 3.938 kB / 0.5153 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.318, allocations: 34.7 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.3181, allocations: 52.81 kB / 0.5154 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3184, allocations: 104.5 kB / 0.5155 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3186, allocations: 135.1 kB / 0.5156 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3187, allocations: 28.34 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.3188, allocations: 50.38 kB / 0.5157 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.3189, allocations: 39.48 kB / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3189, allocations: 2.938 kB / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.319, allocations: 38.91 kB / 0.5158 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.319, allocations: 23.83 kB / 0.5158 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.3191, allocations: 76.27 kB / 0.5158 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3193, allocations: 128.8 kB / 0.516 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3193, allocations: 0 / 0.516 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3193, allocations: 0 / 0.516 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3193, allocations: 3.031 kB / 0.516 GB, free: 35.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005257/0.3199, allocations: 460 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3199, allocations: 9.469 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.32, allocations: 19.06 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3202, allocations: 228.8 kB / 0.5167 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3202, allocations: 7.578 kB / 0.5167 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3202, allocations: 12.62 kB / 0.5167 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3205, allocations: 104.6 kB / 0.5168 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3205, allocations: 3.938 kB / 0.5168 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3205, allocations: 1.281 kB / 0.5168 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3205, allocations: 5.125 kB / 0.5168 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3207, allocations: 53.56 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3211, allocations: 0.5128 MB / 0.5173 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3214, allocations: 84.05 kB / 0.5174 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.3215, allocations: 43.97 kB / 0.5175 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3215, allocations: 4 kB / 0.5175 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.3217, allocations: 84.39 kB / 0.5175 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3217, allocations: 0 / 0.5175 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003367/0.3221, allocations: 146.7 kB / 0.5177 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.3221, allocations: 62.72 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3223, allocations: 195.2 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3223, allocations: 25.7 kB / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.3223, allocations: 111.8 kB / 0.5181 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3224, allocations: 29.95 kB / 0.5181 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.3224, allocations: 6.781 kB / 0.5181 GB, free: 34.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.3224, allocations: 321.1 kB / 0.5184 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.3225, allocations: 34.64 kB / 0.5184 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.3226, allocations: 68.73 kB / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3228, allocations: 105.1 kB / 0.5186 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3228, allocations: 0 / 0.5186 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002213/0.323, allocations: 139.3 kB / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.323, allocations: 9.531 kB / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3231, allocations: 0 / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3231, allocations: 2.812 kB / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.3232, allocations: 30.34 kB / 0.5188 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3232, allocations: 2.656 kB / 0.5188 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.3233, allocations: 12.14 kB / 0.5188 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3233, allocations: 9.469 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.859e-05/0.3234, allocations: 129.6 kB / 0.5189 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.3234, allocations: 18.17 kB / 0.5189 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.3234, allocations: 13.81 kB / 0.519 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3234, allocations: 5.062 kB / 0.519 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3235, allocations: 5 kB / 0.519 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3235, allocations: 3.188 kB / 0.519 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.3236, allocations: 209 kB / 0.5192 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3236, allocations: 4 kB / 0.5192 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.3237, allocations: 15.44 kB / 0.5192 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3237, allocations: 0 / 0.5192 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3237, allocations: 4.781 kB / 0.5192 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3237, allocations: 9.062 kB / 0.5192 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3237, allocations: 0 / 0.5192 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3241, allocations: 182.5 kB / 0.5194 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3241, allocations: 93.31 kB / 0.5195 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3242, allocations: 5.188 kB / 0.5195 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.3242, allocations: 9.25 kB / 0.5195 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.3243, allocations: 16.09 kB / 0.5195 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3243, allocations: 2.656 kB / 0.5195 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3244, allocations: 137.8 kB / 0.5196 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.3245, allocations: 1.125 kB / 0.5196 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.3247, allocations: 34.91 kB / 0.5197 GB, free: 32.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009442/0.3256, allocations: 484.1 kB / 0.5201 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3259, allocations: 83.38 kB / 0.5202 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3259, allocations: 0 / 0.5202 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.326, allocations: 38.95 kB / 0.5202 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3263, allocations: 39.64 kB / 0.5203 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.3269, allocations: 303.3 kB / 0.5206 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.327, allocations: 0.7155 MB / 0.5213 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.3271, allocations: 16.22 kB / 0.5213 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3271, allocations: 16.47 kB / 0.5213 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3271, allocations: 0 / 0.5213 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.00418/0.3313, allocations: 1.767 MB / 0.523 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches