Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 53.37 MB / 431.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003465/0.2547, allocations: 1.924 MB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006187/0.2609, allocations: 3.499 MB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.2612, allocations: 15.81 kB / 436.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.2618, allocations: 195.1 kB / 436.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.262, allocations: 43.53 kB / 436.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.2667, allocations: 1.955 MB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.2677, allocations: 0.4949 MB / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2678, allocations: 33.27 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2681, allocations: 187.3 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2683, allocations: 167.2 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.2684, allocations: 24 kB / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.2711, allocations: 1.916 MB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.2713, allocations: 127.5 kB / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2714, allocations: 127.2 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2736, allocations: 1.816 MB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2736, allocations: 3.938 kB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2736, allocations: 0 / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2736, allocations: 0 / 443.6 MB, free: 10.07 MB / 350.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.001705/0.2753, allocations: 0.843 MB / 444.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2753, allocations: 8.031 kB / 444.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.2754, allocations: 54.73 kB / 444.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.2755, allocations: 48.61 kB / 444.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.276, allocations: 287.4 kB / 444.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2761, allocations: 24.59 kB / 444.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.2761, allocations: 32.08 kB / 444.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2768, allocations: 0.6097 MB / 445.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2768, allocations: 4 kB / 445.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.2769, allocations: 4 kB / 445.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2769, allocations: 7.984 kB / 445.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.2772, allocations: 144.7 kB / 445.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2784, allocations: 0.5891 MB / 446.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.2791, allocations: 322.6 kB / 446.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2793, allocations: 100.8 kB / 446.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2793, allocations: 4 kB / 446.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2793, allocations: 34.56 kB / 446.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.2793, allocations: 3.938 kB / 446.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008003/0.2801, allocations: 384.2 kB / 447.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.2804, allocations: 367.9 kB / 447.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.2808, allocations: 409.8 kB / 447.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.2809, allocations: 33.7 kB / 447.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2811, allocations: 200.9 kB / 448 MB, free: 5.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.2812, allocations: 87.28 kB / 448.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.2813, allocations: 101.7 kB / 448.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2815, allocations: 362.7 kB / 448.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.2819, allocations: 204.2 kB / 448.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.2825, allocations: 0.6079 MB / 449.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.2831, allocations: 400.7 kB / 449.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2831, allocations: 0 / 449.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001168/0.2843, allocations: 0.6567 MB / 450.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2843, allocations: 8 kB / 450.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.2843, allocations: 7.984 kB / 450.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.2848, allocations: 126.4 kB / 450.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.2851, allocations: 59.95 kB / 450.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.2891, allocations: 4.248 MB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.2893, allocations: 51.69 kB / 454.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.2893, allocations: 12 kB / 454.9 MB, free: 13.84 MB / 366.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.0002299/0.2896, allocations: 173.7 kB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.2896, allocations: 39.72 kB / 455.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.2897, allocations: 47.97 kB / 455.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2897, allocations: 7.938 kB / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2897, allocations: 0 / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2897, allocations: 0 / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.2901, allocations: 296.5 kB / 455.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2901, allocations: 0 / 455.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.2904, allocations: 39.92 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2904, allocations: 0 / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.2905, allocations: 11.98 kB / 455.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2905, allocations: 7.938 kB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2905, allocations: 0 / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.2912, allocations: 0.5029 MB / 456.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2912, allocations: 35.77 kB / 456.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.2913, allocations: 23.86 kB / 456.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2915, allocations: 15.98 kB / 456.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.2916, allocations: 11.97 kB / 456.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2916, allocations: 8 kB / 456.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.2919, allocations: 271.1 kB / 456.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2919, allocations: 0 / 456.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001914/0.2938, allocations: 0.6558 MB / 457.1 MB, free: 11.65 MB / 366.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.0023/0.2961, allocations: 1.616 MB / 458.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.2975, allocations: 0.9257 MB / 459.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2975, allocations: 0 / 459.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2977, allocations: 117.9 kB / 459.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.2983, allocations: 113.5 kB / 459.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/0.3045, allocations: 4.505 MB / 464.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3047, allocations: 233.1 kB / 464.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3049, allocations: 70.91 kB / 464.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3051, allocations: 139.3 kB / 464.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3051, allocations: 0 / 464.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.3614, allocations: 18.35 MB / 483.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.85, allocations: 14.7 kB / 483.1 MB, free: 1.574 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.294339952990413]