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.0007885/0.0007885, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008713/0.0008713, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8968/0.8968, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.563e-06/1.563e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.516e-05, allocations: 5.234 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002621/0.002646, allocations: 1.94 MB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.006528, allocations: 3.51 MB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.006681, allocations: 15.81 kB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.007133, allocations: 195 kB / 330.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.007233, allocations: 43.59 kB / 330.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.0105, allocations: 2.046 MB / 332.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.01094, allocations: 0.507 MB / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.01106, allocations: 29.27 kB / 332.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.01125, allocations: 243.5 kB / 333.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.0114, allocations: 139.6 kB / 333.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.01144, allocations: 28 kB / 333.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.01324, allocations: 1.869 MB / 335.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01339, allocations: 123.6 kB / 335.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.01348, allocations: 107.6 kB / 335.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.01506, allocations: 2.097 MB / 337.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01506, allocations: 0 / 337.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01506, allocations: 0 / 337.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.01507, allocations: 0 / 337.4 MB, free: 3.055 MB / 298.7 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.001061/0.01613, allocations: 0.8468 MB / 338.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.01617, allocations: 11.98 kB / 338.3 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.01622, allocations: 46.75 kB / 338.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.01628, allocations: 52.61 kB / 338.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.0166, allocations: 290.6 kB / 338.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.01662, allocations: 20.64 kB / 338.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.01666, allocations: 28.33 kB / 338.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.01732, allocations: 0.6128 MB / 339.3 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01733, allocations: 3.938 kB / 339.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.01734, allocations: 4 kB / 339.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01735, allocations: 4 kB / 339.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.01753, allocations: 144.7 kB / 339.5 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.01827, allocations: 0.593 MB / 340.1 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.01869, allocations: 314.6 kB / 340.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.0188, allocations: 100.7 kB / 340.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.01881, allocations: 7.984 kB / 340.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01883, allocations: 38.56 kB / 340.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.01883, allocations: 0 / 340.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004794/0.01931, allocations: 393.4 kB / 340.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.01945, allocations: 363.8 kB / 341.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.01976, allocations: 409.8 kB / 341.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.01979, allocations: 33.7 kB / 341.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.01991, allocations: 192.9 kB / 341.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.01996, allocations: 91.19 kB / 342 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.02005, allocations: 101.5 kB / 342.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.02015, allocations: 358.7 kB / 342.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.02036, allocations: 204.4 kB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.02069, allocations: 0.6118 MB / 343.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.02105, allocations: 404.7 kB / 343.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02105, allocations: 0 / 343.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006863/0.02174, allocations: 0.6487 MB / 344.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.02176, allocations: 11.94 kB / 344.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.02179, allocations: 4 kB / 344.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.02207, allocations: 130.5 kB / 344.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.02221, allocations: 63.91 kB / 344.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.02474, allocations: 4.236 MB / 348.7 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.02491, allocations: 47.62 kB / 348.8 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.02494, allocations: 15.98 kB / 348.8 MB, free: 6.84 MB / 314.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 () * 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.0001818/0.02513, allocations: 182 kB / 349 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.02517, allocations: 39.72 kB / 349 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.02522, allocations: 51.77 kB / 349 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.02522, allocations: 4 kB / 349 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.02522, allocations: 0 / 349 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.02523, allocations: 0 / 349 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.02547, allocations: 292.4 kB / 349.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02548, allocations: 0 / 349.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.02563, allocations: 47.91 kB / 349.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.02563, allocations: 4 kB / 349.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.02565, allocations: 15.98 kB / 349.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.02566, allocations: 0 / 349.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02566, allocations: 4 kB / 349.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.0261, allocations: 0.4942 MB / 349.9 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.02615, allocations: 43.64 kB / 349.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.02617, allocations: 16 kB / 350 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.02626, allocations: 12.03 kB / 350 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.02631, allocations: 23.91 kB / 350 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.02632, allocations: 4 kB / 350 MB, free: 5.551 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.02652, allocations: 279.1 kB / 350.3 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02652, allocations: 4 kB / 350.3 MB, free: 5.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001513/0.02803, allocations: 0.6519 MB / 350.9 MB, free: 4.625 MB / 314.7 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.001621/0.02965, allocations: 1.739 MB / 352.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.031, allocations: 0.9286 MB / 353.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.031, allocations: 0 / 353.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.03113, allocations: 119.9 kB / 353.7 MB, free: 1.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.03151, allocations: 106 kB / 353.8 MB, free: 1.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.03563, allocations: 4.486 MB / 358.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.03581, allocations: 233.1 kB / 358.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.03597, allocations: 78.89 kB / 358.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.0361, allocations: 132.5 kB / 358.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0361, allocations: 0 / 358.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.07624, allocations: 18.42 MB / 377.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.555, allocations: 7.109 kB / 377.2 MB, free: 10.37 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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: 9.261954253539443]