Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 82.42 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.000275, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2468, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002461/0.2493, allocations: 1.291 MB / 377.9 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.2554, allocations: 5.272 MB / 383.2 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2556, allocations: 5.25 kB / 383.2 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.256, allocations: 45.59 kB / 383.2 MB, free: 40.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.2561, allocations: 14.75 kB / 383.2 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.2594, allocations: 1.057 MB / 384.3 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2597, allocations: 138.2 kB / 384.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2598, allocations: 23.94 kB / 384.4 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.2599, allocations: 53.66 kB / 384.5 MB, free: 39.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.26, allocations: 48.02 kB / 384.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.26, allocations: 3.781 kB / 384.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.2618, allocations: 1.098 MB / 385.6 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.2619, allocations: 27.41 kB / 385.7 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.2619, allocations: 80.88 kB / 385.7 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008993/0.2628, allocations: 1.184 MB / 386.9 MB, free: 37.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2629, allocations: 0 / 386.9 MB, free: 37.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2629, allocations: 4 kB / 386.9 MB, free: 37.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2629, allocations: 0 / 386.9 MB, free: 37.73 MB / 298.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.0007195/0.2636, allocations: 0.5381 MB / 387.5 MB, free: 37.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2636, allocations: 16.02 kB / 387.5 MB, free: 37.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.2637, allocations: 20.69 kB / 387.5 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2639, allocations: 208 kB / 387.7 MB, free: 36.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2639, allocations: 12.38 kB / 387.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.2639, allocations: 12.38 kB / 387.7 MB, free: 36.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2642, allocations: 128.9 kB / 387.9 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2642, allocations: 0 / 387.9 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2642, allocations: 4 kB / 387.9 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2642, allocations: 4 kB / 387.9 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2643, allocations: 59.95 kB / 387.9 MB, free: 36.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.2648, allocations: 384.4 kB / 388.3 MB, free: 36.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.2652, allocations: 130.6 kB / 388.4 MB, free: 36.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.2652, allocations: 44.97 kB / 388.5 MB, free: 36.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2653, allocations: 11.97 kB / 388.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.2653, allocations: 34.56 kB / 388.5 MB, free: 35.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2653, allocations: 0 / 388.5 MB, free: 35.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001769/0.2671, allocations: 1.226 MB / 389.7 MB, free: 34.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2671, allocations: 128.5 kB / 389.9 MB, free: 34.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2672, allocations: 179.1 kB / 390 MB, free: 34.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2673, allocations: 29.64 kB / 390.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.2673, allocations: 112.5 kB / 390.2 MB, free: 34.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2674, allocations: 51.2 kB / 390.2 MB, free: 34.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.2674, allocations: 4 kB / 390.2 MB, free: 34.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.2674, allocations: 326.8 kB / 390.6 MB, free: 33.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2676, allocations: 95.94 kB / 390.7 MB, free: 33.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2677, allocations: 137.1 kB / 390.8 MB, free: 33.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.268, allocations: 206.9 kB / 391 MB, free: 33.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.268, allocations: 4 kB / 391 MB, free: 33.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004185/0.2684, allocations: 303.9 kB / 391.3 MB, free: 32.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2684, allocations: 4 kB / 391.3 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.2685, allocations: 4 kB / 391.3 MB, free: 32.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2686, allocations: 48.81 kB / 391.3 MB, free: 32.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2688, allocations: 31.92 kB / 391.4 MB, free: 32.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008158/0.2696, allocations: 1.409 MB / 392.8 MB, free: 31.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.2697, allocations: 8.031 kB / 392.8 MB, free: 31.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2697, allocations: 4 kB / 392.8 MB, free: 31.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/0.2698, allocations: 137.8 kB / 392.9 MB, free: 31.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.2699, allocations: 15.81 kB / 392.9 MB, free: 31.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.2699, allocations: 33.61 kB / 393 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2699, allocations: 0 / 393 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2699, allocations: 0 / 393 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2699, allocations: 0 / 393 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2701, allocations: 253.4 kB / 393.2 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2701, allocations: 0 / 393.2 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2704, allocations: 55.91 kB / 393.3 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2704, allocations: 0 / 393.3 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2704, allocations: 4 kB / 393.3 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2705, allocations: 0 / 393.3 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2705, allocations: 8.656 kB / 393.3 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.2709, allocations: 415.2 kB / 393.7 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.2709, allocations: 89.11 kB / 393.8 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.271, allocations: 15.97 kB / 393.8 MB, free: 30.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2711, allocations: 8 kB / 393.8 MB, free: 30.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.2711, allocations: 15.98 kB / 393.8 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2711, allocations: 4 kB / 393.8 MB, free: 30.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.2712, allocations: 131.1 kB / 394 MB, free: 30.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2712, allocations: 0 / 394 MB, free: 30.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001532/0.2727, allocations: 0.5195 MB / 394.5 MB, free: 29.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008776/0.2736, allocations: 0.542 MB / 395 MB, free: 29.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.2742, allocations: 398.7 kB / 395.4 MB, free: 28.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2742, allocations: 0 / 395.4 MB, free: 28.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.2743, allocations: 91.89 kB / 395.5 MB, free: 28.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2747, allocations: 25.05 kB / 395.5 MB, free: 28.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.2752, allocations: 473.7 kB / 396 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2754, allocations: 0.7361 MB / 396.7 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.945e-05/0.2755, allocations: 25.06 kB / 396.7 MB, free: 27.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.2755, allocations: 19.44 kB / 396.8 MB, free: 27.21 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2755, allocations: 0 / 396.8 MB, free: 27.21 MB / 298.7 MB Notification: Performance of Templates: time 0.01135/0.2869, allocations: 7.752 MB / 404.5 MB, free: 19.46 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches