Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008653, allocations: 92.66 kB / 17.31 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 176.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.000221, allocations: 8 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07238/0.07261, allocations: 50.42 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001715/0.07434, allocations: 1.693 MB / 354.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.07991, allocations: 3.996 MB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.08006, allocations: 7.875 kB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.08047, allocations: 159.3 kB / 358.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.0806, allocations: 39.69 kB / 358.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.08379, allocations: 1.554 MB / 359.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.08426, allocations: 474.6 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.08438, allocations: 41.36 kB / 360.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.08458, allocations: 163.3 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.08478, allocations: 159.2 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.08483, allocations: 15.94 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.08659, allocations: 1.713 MB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.08673, allocations: 111.6 kB / 362.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.08688, allocations: 172.7 kB / 362.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.08814, allocations: 1.497 MB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.08815, allocations: 0 / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.08815, allocations: 4 kB / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.08817, allocations: 0 / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001293/0.08946, allocations: 0.8297 MB / 365.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.0895, allocations: 8.031 kB / 365.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.08959, allocations: 52.31 kB / 365.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.08997, allocations: 342.2 kB / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.08999, allocations: 20.41 kB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.09006, allocations: 27.94 kB / 365.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.09048, allocations: 311 kB / 365.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.09051, allocations: 3.984 kB / 365.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.09054, allocations: 8 kB / 365.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.09055, allocations: 4 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.09083, allocations: 152.7 kB / 366 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.09191, allocations: 0.6794 MB / 366.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.09252, allocations: 322.6 kB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.09271, allocations: 108.8 kB / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.09274, allocations: 0 / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.09277, allocations: 38.56 kB / 367.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.09277, allocations: 0 / 367.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006703/0.09345, allocations: 390.4 kB / 367.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.09359, allocations: 371.8 kB / 367.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.09397, allocations: 409.8 kB / 368.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.09401, allocations: 37.64 kB / 368.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.09414, allocations: 200.7 kB / 368.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.09421, allocations: 78.81 kB / 368.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.09428, allocations: 61.69 kB / 368.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.0944, allocations: 350.8 kB / 369 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.09472, allocations: 212.4 kB / 369.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.09511, allocations: 314.4 kB / 369.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.09567, allocations: 401.6 kB / 369.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09568, allocations: 0 / 369.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001047/0.09673, allocations: 0.6651 MB / 370.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.09676, allocations: 4 kB / 370.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.09678, allocations: 4 kB / 370.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.0972, allocations: 134.4 kB / 370.7 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.09749, allocations: 63.95 kB / 370.8 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1322/0.2297, allocations: 4.222 MB / 375 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.23, allocations: 56.02 kB / 375 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2301, allocations: 12.47 kB / 375.1 MB, free: 20.12 MB / 302.1 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.2302, allocations: 177.4 kB / 375.2 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.2303, allocations: 37.95 kB / 375.3 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.2304, allocations: 43.91 kB / 375.3 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2304, allocations: 2.344 kB / 375.3 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2304, allocations: 1.312 kB / 375.3 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2304, allocations: 5.625 kB / 375.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.2307, allocations: 344.2 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2307, allocations: 0 / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.231, allocations: 45.34 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.231, allocations: 1.031 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.2311, allocations: 13.62 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2311, allocations: 5.031 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2311, allocations: 3.938 kB / 375.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.2317, allocations: 0.5072 MB / 376.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2318, allocations: 112.3 kB / 376.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.2318, allocations: 14.42 kB / 376.4 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.232, allocations: 22.44 kB / 376.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.2321, allocations: 13.16 kB / 376.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2321, allocations: 9.359 kB / 376.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.2323, allocations: 276.4 kB / 376.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2323, allocations: 0 / 376.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001618/0.234, allocations: 0.651 MB / 377.3 MB, free: 19.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001169/0.2351, allocations: 0.6646 MB / 378 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2363, allocations: 0.9508 MB / 378.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2363, allocations: 1.75 kB / 378.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2365, allocations: 123.9 kB / 379.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2371, allocations: 104.9 kB / 379.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2384, allocations: 1.088 MB / 380.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2387, allocations: 0.8394 MB / 381.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.2388, allocations: 28.03 kB / 381.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2388, allocations: 0 / 381.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01437/0.2532, allocations: 12.02 MB / 393.1 MB, free: 13.09 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches