Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007829/0.000783, allocations: 98.91 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3231/0.3231, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002509, allocations: 12 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3504, allocations: 63.1 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001846/0.3523, allocations: 1.43 MB / 0.5228 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3538, allocations: 1.35 MB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3539, allocations: 0 / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3542, allocations: 59.2 kB / 0.5242 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3545, allocations: 85.27 kB / 0.5242 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3548, allocations: 99 kB / 0.5243 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3549, allocations: 100.9 kB / 0.5244 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.355, allocations: 5.656 kB / 0.5244 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.3551, allocations: 41.89 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.3552, allocations: 45.61 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3552, allocations: 6.531 kB / 0.5245 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.3553, allocations: 39.78 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.3554, allocations: 19.06 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3554, allocations: 71.05 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.3556, allocations: 132 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3557, allocations: 0 / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3557, allocations: 0 / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3557, allocations: 0 / 0.5248 GB, free: 36 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.0004691/0.3561, allocations: 426.3 kB / 0.5252 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3562, allocations: 12.88 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3562, allocations: 14.41 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3564, allocations: 225.7 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3565, allocations: 3.344 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3565, allocations: 7 kB / 0.5254 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3566, allocations: 51.73 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3566, allocations: 0 / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3567, allocations: 0 / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3567, allocations: 3 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.3567, allocations: 22.83 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3571, allocations: 299.2 kB / 0.5258 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3572, allocations: 55.16 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3573, allocations: 20.98 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3573, allocations: 0 / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3575, allocations: 79.34 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.3575, allocations: 3.984 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004876/0.358, allocations: 189 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.358, allocations: 55.41 kB / 0.5262 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3582, allocations: 271.6 kB / 0.5264 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3583, allocations: 25.7 kB / 0.5265 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3583, allocations: 115.6 kB / 0.5266 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.3583, allocations: 26.05 kB / 0.5266 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.3583, allocations: 2.562 kB / 0.5266 GB, free: 34.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.3584, allocations: 330.5 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.3585, allocations: 21.5 kB / 0.5269 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.3585, allocations: 33.83 kB / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.3586, allocations: 63.44 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3586, allocations: 0 / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.3588, allocations: 105.7 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3588, allocations: 6 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3588, allocations: 0 / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3588, allocations: 3.094 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.3589, allocations: 18.98 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3589, allocations: 0 / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.359, allocations: 6.469 kB / 0.5272 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.359, allocations: 5.562 kB / 0.5272 GB, free: 33.94 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 7.781e-05/0.3591, allocations: 135.6 kB / 0.5273 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3591, allocations: 16.77 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3592, allocations: 21.94 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3592, allocations: 3.125 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3592, allocations: 0 / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3592, allocations: 7.359 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3595, allocations: 409 kB / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3595, allocations: 0 / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.3596, allocations: 16.09 kB / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3596, allocations: 0 / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3596, allocations: 6.906 kB / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3596, allocations: 0 / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3596, allocations: 0 / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3598, allocations: 217 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3598, allocations: 90.58 kB / 0.528 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3598, allocations: 3.938 kB / 0.528 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.3599, allocations: 14.16 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.36, allocations: 2.844 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.36, allocations: 6.359 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3601, allocations: 198 kB / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3601, allocations: 2.906 kB / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.3603, allocations: 26.31 kB / 0.5283 GB, free: 33.02 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.0009087/0.3612, allocations: 0.5214 MB / 0.5288 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3614, allocations: 52.2 kB / 0.5288 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3614, allocations: 4.062 kB / 0.5288 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.3615, allocations: 29.84 kB / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3618, allocations: 35.7 kB / 0.5289 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3622, allocations: 330.7 kB / 0.5292 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.3624, allocations: 0.7167 MB / 0.5299 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.3624, allocations: 20.11 kB / 0.5299 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.3625, allocations: 27.64 kB / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3625, allocations: 0 / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003587/0.3661, allocations: 1.657 MB / 0.5316 GB, free: 31.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches