Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001234/0.001234, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.00125/0.001251, allocations: 187 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 43.94 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07786, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003123/0.08102, allocations: 2.011 MB / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1541/0.2352, allocations: 3.705 MB / 381.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2353, allocations: 12.75 kB / 381.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.2358, allocations: 176 kB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.2359, allocations: 48.53 kB / 381.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.2399, allocations: 1.933 MB / 383.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.2404, allocations: 0.4938 MB / 384.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2406, allocations: 45.5 kB / 384.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2407, allocations: 180.1 kB / 384.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.2409, allocations: 176.7 kB / 384.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.241, allocations: 23.34 kB / 384.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.243, allocations: 1.78 MB / 386.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2432, allocations: 120.2 kB / 386.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2433, allocations: 165.9 kB / 386.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.2452, allocations: 1.78 MB / 388.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2452, allocations: 0 / 388.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2452, allocations: 0 / 388.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2452, allocations: 1.125 kB / 388.4 MB, free: 8.387 MB / 318.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.001454/0.2466, allocations: 0.897 MB / 389.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2467, allocations: 9.281 kB / 389.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.2468, allocations: 46.81 kB / 389.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2471, allocations: 356.5 kB / 389.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2472, allocations: 17.28 kB / 389.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.2472, allocations: 30.09 kB / 389.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.2476, allocations: 317.2 kB / 390.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2477, allocations: 0 / 390.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.2477, allocations: 7.453 kB / 390.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2477, allocations: 4.094 kB / 390.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.248, allocations: 144.7 kB / 390.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/0.249, allocations: 0.6697 MB / 390.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.2495, allocations: 326 kB / 391.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2497, allocations: 110.5 kB / 391.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2497, allocations: 3.484 kB / 391.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2498, allocations: 36.69 kB / 391.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.2498, allocations: 1.156 kB / 391.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006789/0.2504, allocations: 386 kB / 391.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.2505, allocations: 364.2 kB / 392.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.2509, allocations: 413.9 kB / 392.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2509, allocations: 33.05 kB / 392.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2511, allocations: 196.5 kB / 392.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.2511, allocations: 86.03 kB / 392.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2512, allocations: 100.9 kB / 392.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.2513, allocations: 356.3 kB / 393.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.2516, allocations: 207.2 kB / 393.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.252, allocations: 320.4 kB / 393.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2525, allocations: 395.8 kB / 394.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2525, allocations: 0.6094 kB / 394.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009835/0.2535, allocations: 0.6533 MB / 394.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2535, allocations: 5.75 kB / 394.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.2536, allocations: 7 kB / 394.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.254, allocations: 128.6 kB / 395 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2542, allocations: 62.17 kB / 395 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2566, allocations: 4.562 MB / 399.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.2568, allocations: 51.31 kB / 399.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2568, allocations: 12.94 kB / 399.6 MB, free: 116 kB / 318.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.257, allocations: 175.2 kB / 399.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.2571, allocations: 37.22 kB / 399.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.2572, allocations: 47.31 kB / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2572, allocations: 1.312 kB / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2572, allocations: 5.344 kB / 399.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2572, allocations: 5.062 kB / 399.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.2575, allocations: 349.9 kB / 400.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2575, allocations: 0 / 400.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.2578, allocations: 47.03 kB / 400.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2578, allocations: 2.156 kB / 400.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.2579, allocations: 12.59 kB / 400.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2579, allocations: 3.938 kB / 400.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2579, allocations: 7.875 kB / 400.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.2585, allocations: 0.4904 MB / 400.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.2586, allocations: 113 kB / 400.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.2586, allocations: 11.42 kB / 400.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2588, allocations: 18.56 kB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.2589, allocations: 23.59 kB / 401 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2589, allocations: 4.922 kB / 401 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2591, allocations: 276 kB / 401.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2591, allocations: 0 / 401.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002665/0.2618, allocations: 0.6478 MB / 401.9 MB, free: 15.08 MB / 334.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.001365/0.2632, allocations: 0.6718 MB / 402.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2645, allocations: 0.949 MB / 403.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2645, allocations: 0 / 403.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.2647, allocations: 129.3 kB / 403.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2653, allocations: 111.8 kB / 403.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2666, allocations: 0.9431 MB / 404.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.2671, allocations: 0.8383 MB / 405.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.2672, allocations: 27.25 kB / 405.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2672, allocations: 4 kB / 405.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01655/0.2837, allocations: 12.07 MB / 417.6 MB, free: 4.039 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches