Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4144, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004025/0.4185, allocations: 1.942 MB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.4259, allocations: 3.488 MB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.4262, allocations: 15.81 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.4268, allocations: 195.1 kB / 437.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.427, allocations: 47.52 kB / 437.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.4325, allocations: 1.942 MB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.4333, allocations: 0.4988 MB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4335, allocations: 33.25 kB / 440 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.4338, allocations: 191.3 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.434, allocations: 179.1 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.4341, allocations: 24 kB / 440.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.4373, allocations: 1.897 MB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.4375, allocations: 135.5 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4377, allocations: 131.2 kB / 442.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.4401, allocations: 1.812 MB / 444.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4401, allocations: 0 / 444.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4401, allocations: 3.938 kB / 444.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4401, allocations: 0 / 444.4 MB, free: 9.961 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.001916/0.442, allocations: 0.8391 MB / 445.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4421, allocations: 12.03 kB / 445.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.285e-05/0.4421, allocations: 4.469 kB / 445.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.4422, allocations: 46.73 kB / 445.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4423, allocations: 52.61 kB / 445.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.4428, allocations: 295.4 kB / 445.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4429, allocations: 16.66 kB / 445.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.4429, allocations: 35.88 kB / 445.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.4437, allocations: 0.6021 MB / 446.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4437, allocations: 3.938 kB / 446.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.4438, allocations: 8 kB / 446.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4438, allocations: 4 kB / 446.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.4441, allocations: 144.4 kB / 446.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4454, allocations: 0.5969 MB / 447 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.4461, allocations: 318.5 kB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.4463, allocations: 100.8 kB / 447.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4463, allocations: 4 kB / 447.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4463, allocations: 38.56 kB / 447.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.4463, allocations: 4 kB / 447.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007954/0.4471, allocations: 381.2 kB / 447.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002783/0.4474, allocations: 372 kB / 448.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.4479, allocations: 405.8 kB / 448.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.448, allocations: 33.7 kB / 448.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.4482, allocations: 196.9 kB / 448.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.4483, allocations: 91.27 kB / 448.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4485, allocations: 97.69 kB / 449 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.4487, allocations: 358.7 kB / 449.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.449, allocations: 208.2 kB / 449.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.4497, allocations: 0.6157 MB / 450.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.4504, allocations: 392.8 kB / 450.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4504, allocations: 3.938 kB / 450.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00118/0.4516, allocations: 0.645 MB / 451.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4516, allocations: 4 kB / 451.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.4516, allocations: 15.92 kB / 451.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.4521, allocations: 138.4 kB / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.4524, allocations: 59.91 kB / 451.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.4567, allocations: 4.24 MB / 455.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.4569, allocations: 51.67 kB / 455.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.457, allocations: 8.281 kB / 455.8 MB, free: 13.74 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.0003239/0.4573, allocations: 177.8 kB / 455.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.4574, allocations: 43.72 kB / 456 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.4575, allocations: 43.84 kB / 456 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4575, allocations: 7.938 kB / 456 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4575, allocations: 0 / 456 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.4575, allocations: 3.984 kB / 456 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.4579, allocations: 288.5 kB / 456.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.458, allocations: 0 / 456.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.4583, allocations: 51.91 kB / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4583, allocations: 4 kB / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4583, allocations: 11.94 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4583, allocations: 0 / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4583, allocations: 0 / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.4591, allocations: 0.5023 MB / 456.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.4591, allocations: 43.64 kB / 456.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.4592, allocations: 15.94 kB / 456.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4594, allocations: 11.98 kB / 456.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.4595, allocations: 19.97 kB / 457 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4595, allocations: 8.109 kB / 457 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.4598, allocations: 271.1 kB / 457.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4598, allocations: 4 kB / 457.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002625/0.4625, allocations: 0.6519 MB / 457.9 MB, free: 11.53 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.002869/0.4653, allocations: 1.599 MB / 459.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.467, allocations: 0.9295 MB / 460.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.467, allocations: 0 / 460.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4672, allocations: 122.9 kB / 460.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.4679, allocations: 122.6 kB / 460.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.4747, allocations: 4.503 MB / 465.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.475, allocations: 237 kB / 465.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.4753, allocations: 78.84 kB / 465.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4755, allocations: 131.4 kB / 465.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4755, allocations: 0 / 465.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.5336, allocations: 17.93 MB / 483.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.89, allocations: 13.83 kB / 483.5 MB, free: 1.828 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.747735172044486]