Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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) 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(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 193.1 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.356/1.356, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009437/0.0009436, allocations: 97.7 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 7.984 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001437/0.2284, allocations: 1.304 MB / 413.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2332, allocations: 5.571 MB / 418.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2334, allocations: 3.938 kB / 418.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.2337, allocations: 47.81 kB / 419 MB, free: 18.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.2339, allocations: 15.88 kB / 419 MB, free: 18.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.2365, allocations: 1.065 MB / 420 MB, free: 17.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2367, allocations: 143.6 kB / 420.2 MB, free: 17.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.2368, allocations: 18.66 kB / 420.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.2369, allocations: 47.78 kB / 420.3 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.2369, allocations: 55.69 kB / 420.3 MB, free: 17.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.237, allocations: 8 kB / 420.3 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.2382, allocations: 1.101 MB / 421.4 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.2383, allocations: 31.91 kB / 421.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.2383, allocations: 69.38 kB / 421.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.2392, allocations: 1.185 MB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2392, allocations: 0 / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2393, allocations: 0 / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2393, allocations: 0 / 422.7 MB, free: 14.75 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.000829/0.2401, allocations: 0.5497 MB / 423.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2401, allocations: 12.03 kB / 423.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.2402, allocations: 16.75 kB / 423.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.2404, allocations: 208 kB / 423.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2404, allocations: 8.375 kB / 423.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2405, allocations: 8.375 kB / 423.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2407, allocations: 136.9 kB / 423.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2407, allocations: 0 / 423.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2407, allocations: 4 kB / 423.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2407, allocations: 4 kB / 423.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2409, allocations: 59.89 kB / 423.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.2414, allocations: 392.4 kB / 424.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2417, allocations: 130.6 kB / 424.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.2418, allocations: 40.83 kB / 424.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2418, allocations: 12.12 kB / 424.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2418, allocations: 34.56 kB / 424.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2419, allocations: 0 / 424.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001812/0.2437, allocations: 1.226 MB / 425.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.2437, allocations: 132.5 kB / 425.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2438, allocations: 177.5 kB / 425.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2439, allocations: 25.7 kB / 425.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2439, allocations: 108.5 kB / 426 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.244, allocations: 59.11 kB / 426 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.244, allocations: 0 / 426 MB, free: 11.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.244, allocations: 326.8 kB / 426.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2442, allocations: 99.94 kB / 426.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2443, allocations: 140 kB / 426.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2446, allocations: 200.7 kB / 426.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2446, allocations: 3.938 kB / 426.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004335/0.2451, allocations: 308.8 kB / 427.1 MB, free: 10 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2451, allocations: 4 kB / 427.1 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.2451, allocations: 8 kB / 427.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.2453, allocations: 40.81 kB / 427.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2454, allocations: 35.92 kB / 427.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.2462, allocations: 1.405 MB / 428.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.2463, allocations: 11.97 kB / 428.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2464, allocations: 8.156 kB / 428.6 MB, free: 8.352 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.219e-05/0.2465, allocations: 137.8 kB / 428.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2465, allocations: 15.81 kB / 428.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2466, allocations: 29.52 kB / 428.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2466, allocations: 0 / 428.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2466, allocations: 0.9375 kB / 428.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2466, allocations: 0 / 428.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2468, allocations: 249.5 kB / 429 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2468, allocations: 0 / 429 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.247, allocations: 59.91 kB / 429.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.247, allocations: 0 / 429.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2471, allocations: 4 kB / 429.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2471, allocations: 0 / 429.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2471, allocations: 0 / 429.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2475, allocations: 419.1 kB / 429.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.2475, allocations: 96.89 kB / 429.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2475, allocations: 8 kB / 429.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2476, allocations: 4 kB / 429.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.2477, allocations: 11.98 kB / 429.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2477, allocations: 4 kB / 429.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.171e-05/0.2478, allocations: 126.2 kB / 429.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2478, allocations: 3.938 kB / 429.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00121/0.249, allocations: 0.5195 MB / 430.2 MB, free: 6.598 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.001028/0.25, allocations: 0.565 MB / 430.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2505, allocations: 393.8 kB / 431.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2506, allocations: 4 kB / 431.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.2507, allocations: 87.95 kB / 431.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.251, allocations: 27.92 kB / 431.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.2515, allocations: 460.6 kB / 431.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2517, allocations: 0.7322 MB / 432.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.2518, allocations: 33.06 kB / 432.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.2518, allocations: 15.44 kB / 432.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2518, allocations: 0 / 432.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of Templates: time 0.01331/0.2652, allocations: 7.741 MB / 440.3 MB, free: 12.48 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches