Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 92.86 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.292e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09446, allocations: 50.41 MB / 387.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4301, allocations: 89.47 MB / 476.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.4303, allocations: 67.97 kB / 477 MB, free: 5.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04627/0.4766, allocations: 16.88 MB / 493.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4767, allocations: 0 / 493.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.4767, allocations: 7.938 kB / 493.9 MB, free: 4.387 MB / 362.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.001153/0.4778, allocations: 0.5416 MB / 494.4 MB, free: 3.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4779, allocations: 12.03 kB / 494.4 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.478, allocations: 11.91 kB / 494.4 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.4783, allocations: 243.1 kB / 494.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4783, allocations: 4 kB / 494.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.4784, allocations: 4 kB / 494.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.4785, allocations: 43.97 kB / 494.7 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4787, allocations: 117.9 kB / 494.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4787, allocations: 4 kB / 494.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4787, allocations: 0 / 494.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4787, allocations: 0 / 494.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.4794, allocations: 361 kB / 495.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4797, allocations: 126.5 kB / 495.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.4798, allocations: 32.86 kB / 495.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.4798, allocations: 0 / 495.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4799, allocations: 38.55 kB / 495.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.4799, allocations: 0 / 495.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001874/0.4817, allocations: 1.072 MB / 496.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.4818, allocations: 141.4 kB / 496.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.482, allocations: 170.2 kB / 496.8 MB, free: 1.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.482, allocations: 25.7 kB / 496.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4821, allocations: 108.5 kB / 496.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.4822, allocations: 51.2 kB / 496.9 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.4822, allocations: 0 / 496.9 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4823, allocations: 330.8 kB / 497.3 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4824, allocations: 87.91 kB / 497.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4826, allocations: 127.3 kB / 497.5 MB, free: 420 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.4828, allocations: 95.94 kB / 497.6 MB, free: 324 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4828, allocations: 3.938 kB / 497.6 MB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004804/0.4833, allocations: 278.1 kB / 497.8 MB, free: 32 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4833, allocations: 9.234 kB / 497.9 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.4833, allocations: 4 kB / 497.9 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.4835, allocations: 40.84 kB / 497.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4837, allocations: 39.91 kB / 497.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.4837, allocations: 0 / 497.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.4838, allocations: 4 kB / 497.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.4838, allocations: 4 kB / 497.9 MB, free: 15.93 MB / 378.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.4839, allocations: 104.9 kB / 498.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.484, allocations: 11.91 kB / 498.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.4841, allocations: 29.95 kB / 498.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4841, allocations: 3.953 kB / 498.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4841, allocations: 0 / 498.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4841, allocations: 0 / 498.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.4847, allocations: 481 kB / 498.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4848, allocations: 0 / 498.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.485, allocations: 39.97 kB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.485, allocations: 4 kB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.485, allocations: 7.953 kB / 498.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.485, allocations: 4 kB / 498.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.485, allocations: 0 / 498.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.4855, allocations: 363.2 kB / 499 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.4855, allocations: 96.89 kB / 499.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.4856, allocations: 3.938 kB / 499.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4857, allocations: 7.953 kB / 499.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4857, allocations: 7.984 kB / 499.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4857, allocations: 11.98 kB / 499.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.4858, allocations: 115.3 kB / 499.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4858, allocations: 0 / 499.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001668/0.4875, allocations: 0.5272 MB / 499.7 MB, free: 14.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.4887, allocations: 0.5574 MB / 0.4886 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.4892, allocations: 343.4 kB / 0.4889 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4892, allocations: 0 / 0.4889 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4893, allocations: 75.91 kB / 0.489 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.4896, allocations: 24.14 kB / 0.489 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.4902, allocations: 307.2 kB / 0.4893 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4905, allocations: 0.7361 MB / 0.49 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.4906, allocations: 33.17 kB / 0.49 GB, free: 11.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.4907, allocations: 15.44 kB / 0.4901 GB, free: 11.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4907, allocations: 0 / 0.4901 GB, free: 11.89 MB / 378.7 MB Notification: Performance of Templates: time 0.01286/0.5035, allocations: 8.079 MB / 0.4979 GB, free: 3.801 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches