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.00156/0.00156, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001666/0.001666, allocations: 216.5 kB / 24.53 MB, free: 4.008 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.557/1.557, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.002513/0.002513, allocations: 55.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4155, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004072/0.4196, allocations: 2.041 MB / 434 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007432/0.427, allocations: 3.764 MB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.4273, allocations: 27.75 kB / 437.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.4279, allocations: 183.1 kB / 438 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.428, allocations: 47.52 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.4338, allocations: 1.94 MB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.4348, allocations: 0.4988 MB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.4349, allocations: 37.25 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.4352, allocations: 195.3 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.4354, allocations: 167.2 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.4355, allocations: 24 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.4389, allocations: 1.92 MB / 442.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.4391, allocations: 119.6 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.4393, allocations: 166.9 kB / 443.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.4418, allocations: 1.809 MB / 444.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4418, allocations: 0 / 444.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4418, allocations: 0 / 444.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4418, allocations: 3.938 kB / 444.9 MB, free: 9.727 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.001958/0.4437, allocations: 0.8391 MB / 445.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4438, allocations: 8.031 kB / 445.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.545e-05/0.4438, allocations: 8.469 kB / 445.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.4439, allocations: 50.73 kB / 445.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.444, allocations: 48.61 kB / 445.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.4445, allocations: 295.3 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4446, allocations: 16.66 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.4446, allocations: 31.89 kB / 446.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.4452, allocations: 308.1 kB / 446.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4452, allocations: 0 / 446.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4452, allocations: 16 kB / 446.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.4452, allocations: 4 kB / 446.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.4455, allocations: 148.4 kB / 446.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4468, allocations: 0.6359 MB / 447.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.4475, allocations: 316.6 kB / 447.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.4477, allocations: 108.8 kB / 447.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4477, allocations: 4.109 kB / 447.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4477, allocations: 42.5 kB / 447.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.4477, allocations: 0 / 447.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007984/0.4485, allocations: 389.3 kB / 448.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.4488, allocations: 367.8 kB / 448.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.4493, allocations: 405.8 kB / 448.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.4493, allocations: 37.7 kB / 448.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4495, allocations: 192.9 kB / 449.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.4496, allocations: 87.27 kB / 449.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.4498, allocations: 97.67 kB / 449.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.45, allocations: 358.7 kB / 449.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.4503, allocations: 216.1 kB / 449.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.4507, allocations: 314 kB / 450.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.4513, allocations: 400.6 kB / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4513, allocations: 0 / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001185/0.4525, allocations: 0.6489 MB / 451.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4525, allocations: 4 kB / 451.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.4526, allocations: 8 kB / 451.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.4531, allocations: 130.5 kB / 451.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.4533, allocations: 67.89 kB / 451.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.4574, allocations: 4.244 MB / 455.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4577, allocations: 47.69 kB / 455.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.4577, allocations: 15.98 kB / 455.7 MB, free: 14.2 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.0002879/0.458, allocations: 173.9 kB / 455.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.4581, allocations: 47.7 kB / 455.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.4582, allocations: 47.78 kB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4582, allocations: 7.938 kB / 456 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4582, allocations: 0 / 456 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4582, allocations: 3.984 kB / 456 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.4586, allocations: 316.4 kB / 456.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4586, allocations: 4 kB / 456.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.4589, allocations: 43.91 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4589, allocations: 4 kB / 456.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.4589, allocations: 11.94 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4589, allocations: 0 / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4589, allocations: 0 / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.4597, allocations: 0.5019 MB / 456.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.4597, allocations: 47.64 kB / 456.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.4598, allocations: 11.94 kB / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.46, allocations: 15.98 kB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.46, allocations: 11.97 kB / 456.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.46, allocations: 4 kB / 456.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.4603, allocations: 279.1 kB / 457.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4603, allocations: 0 / 457.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002534/0.4629, allocations: 0.648 MB / 457.9 MB, free: 11.97 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.002695/0.4656, allocations: 1.61 MB / 459.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.4672, allocations: 0.9257 MB / 460.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4672, allocations: 4 kB / 460.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.4674, allocations: 119.2 kB / 460.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.4681, allocations: 118.1 kB / 460.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/0.475, allocations: 4.518 MB / 465.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.4756, allocations: 0.8302 MB / 466 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.4758, allocations: 74.91 kB / 466 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.476, allocations: 131.3 kB / 466.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.476, allocations: 0 / 466.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.5329, allocations: 17.47 MB / 483.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.63, allocations: 4.031 kB / 483.6 MB, free: 2.074 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.432697359996382]