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.001404/0.001404, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001745/0.001745, allocations: 212.8 kB / 23.73 MB, free: 4.164 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.614/1.614, allocations: 230.5 MB / 257.4 MB, free: 7.809 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3855, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003811/0.3893, allocations: 1.924 MB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.396, allocations: 3.499 MB / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.3962, allocations: 19.75 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.3968, allocations: 195.1 kB / 436.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3969, allocations: 47.58 kB / 436.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.4019, allocations: 1.933 MB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.4026, allocations: 0.4949 MB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.4028, allocations: 37.19 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.4031, allocations: 179.4 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.4034, allocations: 179.1 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.4034, allocations: 28 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.4063, allocations: 1.865 MB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.4065, allocations: 131.5 kB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4066, allocations: 131.2 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002143/0.4088, allocations: 1.808 MB / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4088, allocations: 4 kB / 443.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4088, allocations: 0 / 443.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4088, allocations: 0 / 443.6 MB, free: 9.973 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.0018/0.4106, allocations: 0.8391 MB / 444.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4107, allocations: 11.98 kB / 444.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.4108, allocations: 50.73 kB / 444.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4109, allocations: 52.61 kB / 444.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.4114, allocations: 295.3 kB / 444.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4115, allocations: 12.66 kB / 444.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.4115, allocations: 40.06 kB / 444.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.4123, allocations: 0.5983 MB / 445.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4123, allocations: 0 / 445.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.4123, allocations: 12 kB / 445.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4123, allocations: 4 kB / 445.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.4126, allocations: 148.6 kB / 445.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4139, allocations: 0.593 MB / 446.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.4147, allocations: 322.7 kB / 446.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.4149, allocations: 104.8 kB / 446.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4149, allocations: 3.938 kB / 446.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.4149, allocations: 38.56 kB / 446.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.4149, allocations: 0 / 446.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007483/0.4157, allocations: 381.2 kB / 447.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002217/0.4159, allocations: 375.8 kB / 447.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.4163, allocations: 401.8 kB / 447.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.4164, allocations: 37.7 kB / 447.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.4166, allocations: 196.9 kB / 448 MB, free: 5.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.4166, allocations: 87.27 kB / 448.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.4168, allocations: 97.69 kB / 448.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.417, allocations: 358.7 kB / 448.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.4173, allocations: 212.2 kB / 448.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.418, allocations: 0.6117 MB / 449.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.4186, allocations: 396.8 kB / 449.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4186, allocations: 0 / 449.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001156/0.4198, allocations: 0.6489 MB / 450.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4198, allocations: 4 kB / 450.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.4198, allocations: 11.98 kB / 450.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.4203, allocations: 126.4 kB / 450.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.4205, allocations: 63.97 kB / 450.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.4245, allocations: 4.248 MB / 454.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4248, allocations: 39.7 kB / 454.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.4248, allocations: 19.92 kB / 454.9 MB, free: 13.75 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.0002548/0.4251, allocations: 182 kB / 455.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.4251, allocations: 43.72 kB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.4252, allocations: 43.84 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4252, allocations: 3.938 kB / 455.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4252, allocations: 0 / 455.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.4252, allocations: 7.984 kB / 455.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.4256, allocations: 284.5 kB / 455.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4256, allocations: 0 / 455.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4259, allocations: 43.97 kB / 455.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4259, allocations: 8 kB / 455.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4259, allocations: 8 kB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4259, allocations: 3.938 kB / 455.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4259, allocations: 0 / 455.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.4266, allocations: 0.5062 MB / 456.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.4267, allocations: 47.64 kB / 456.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.4268, allocations: 11.94 kB / 456.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4269, allocations: 19.98 kB / 456.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.427, allocations: 11.97 kB / 456.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.427, allocations: 8 kB / 456.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.4273, allocations: 271.1 kB / 456.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4273, allocations: 0 / 456.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002564/0.4299, allocations: 0.6598 MB / 457.1 MB, free: 11.54 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.002474/0.4323, allocations: 1.603 MB / 458.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4339, allocations: 0.9218 MB / 459.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4339, allocations: 0 / 459.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.4341, allocations: 126.8 kB / 459.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.4347, allocations: 125.2 kB / 459.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.4411, allocations: 4.506 MB / 464.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.4413, allocations: 237.1 kB / 464.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.4416, allocations: 74.91 kB / 464.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4418, allocations: 127.4 kB / 464.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4418, allocations: 0 / 464.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/0.5761, allocations: 18.27 MB / 483.1 MB, free: 1.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.26, allocations: 4 kB / 483.1 MB, free: 1.5 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: 16.05036478675902]