Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007123/0.000712, allocations: 92.78 kB / 299.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.323/0.323, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 63.1 MB / 0.5214 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00174/0.3137, allocations: 1.436 MB / 0.5228 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.315, allocations: 1.341 MB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3151, allocations: 0 / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.3154, allocations: 57.23 kB / 0.5241 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.3156, allocations: 77.83 kB / 0.5242 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3158, allocations: 98.56 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.316, allocations: 100.7 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.3161, allocations: 12.59 kB / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/0.3162, allocations: 43.56 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.3162, allocations: 41.12 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3163, allocations: 2.625 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.3163, allocations: 39.39 kB / 0.5245 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.3164, allocations: 22.08 kB / 0.5246 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.3165, allocations: 56.77 kB / 0.5246 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3166, allocations: 128.7 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3166, allocations: 0 / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3166, allocations: 0 / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3167, allocations: 0 / 0.5247 GB, free: 36.04 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.0004054/0.3171, allocations: 417.1 kB / 0.5251 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3171, allocations: 8.406 kB / 0.5251 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.3171, allocations: 14.41 kB / 0.5252 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3173, allocations: 214.9 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3174, allocations: 2.875 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3174, allocations: 6.719 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3175, allocations: 54.38 kB / 0.5254 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3175, allocations: 6.812 kB / 0.5254 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3176, allocations: 4 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3176, allocations: 0 / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.3176, allocations: 22.2 kB / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.3179, allocations: 297.9 kB / 0.5257 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3181, allocations: 56.31 kB / 0.5258 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.3181, allocations: 23.8 kB / 0.5258 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3182, allocations: 4 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3183, allocations: 70.56 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3183, allocations: 0 / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.3188, allocations: 178.3 kB / 0.5261 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3188, allocations: 55.34 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.319, allocations: 239.6 kB / 0.5263 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.319, allocations: 25.7 kB / 0.5264 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.3191, allocations: 105.6 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3191, allocations: 25.84 kB / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.3191, allocations: 4 kB / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.3192, allocations: 328.5 kB / 0.5268 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.3192, allocations: 22.36 kB / 0.5268 GB, free: 34.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.3193, allocations: 37.16 kB / 0.5269 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.3194, allocations: 64.09 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3194, allocations: 3.938 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.3195, allocations: 97.91 kB / 0.527 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3195, allocations: 9.906 kB / 0.527 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3196, allocations: 3.328 kB / 0.527 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3196, allocations: 0 / 0.527 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.3197, allocations: 18.22 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3197, allocations: 0 / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3197, allocations: 14.38 kB / 0.5271 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.3197, allocations: 7.125 kB / 0.5271 GB, free: 34 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 6.856e-05/0.3198, allocations: 124.9 kB / 0.5272 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3198, allocations: 16.59 kB / 0.5272 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3199, allocations: 19.38 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3199, allocations: 0 / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3199, allocations: 3.375 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3199, allocations: 3.938 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.3202, allocations: 399.8 kB / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3202, allocations: 0 / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.3203, allocations: 8.938 kB / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3203, allocations: 0 / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3203, allocations: 10.36 kB / 0.5276 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3203, allocations: 0 / 0.5276 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3203, allocations: 0 / 0.5276 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3204, allocations: 208.4 kB / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.3205, allocations: 94.55 kB / 0.5279 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3205, allocations: 3.938 kB / 0.5279 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.3206, allocations: 10.28 kB / 0.5279 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3206, allocations: 2.906 kB / 0.5279 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3206, allocations: 2.688 kB / 0.5279 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3208, allocations: 177.6 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3208, allocations: 4 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.321, allocations: 26.41 kB / 0.5281 GB, free: 33.11 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.0009373/0.3219, allocations: 0.5266 MB / 0.5286 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3221, allocations: 58.27 kB / 0.5287 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3221, allocations: 2.812 kB / 0.5287 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.3222, allocations: 32.31 kB / 0.5287 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3225, allocations: 18.47 kB / 0.5288 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3228, allocations: 297.5 kB / 0.529 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.323, allocations: 0.7138 MB / 0.5297 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.3231, allocations: 31.44 kB / 0.5298 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3231, allocations: 16.34 kB / 0.5298 GB, free: 31.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3231, allocations: 0 / 0.5298 GB, free: 31.82 MB / 378.7 MB Notification: Performance of Templates: time 0.003548/0.3267, allocations: 1.644 MB / 0.5314 GB, free: 31.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches