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.001257/0.001257, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001345/0.001345, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.402/1.402, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001496/0.001496, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003332/0.1158, allocations: 2.028 MB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2097/0.3255, allocations: 3.733 MB / 432.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3257, allocations: 22 kB / 432.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.3261, allocations: 183.6 kB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.3262, allocations: 52.17 kB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.3302, allocations: 1.935 MB / 434.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.3307, allocations: 0.489 MB / 434.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3308, allocations: 30.05 kB / 434.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.331, allocations: 191.4 kB / 435 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3312, allocations: 173.6 kB / 435.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.3313, allocations: 23.81 kB / 435.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.3336, allocations: 1.815 MB / 437 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3338, allocations: 122.8 kB / 437.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3339, allocations: 169.5 kB / 437.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.336, allocations: 1.787 MB / 439 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.336, allocations: 1.094 kB / 439 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.336, allocations: 0 / 439 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.336, allocations: 0 / 439 MB, free: 6.645 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.001698/0.3377, allocations: 0.9198 MB / 440 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3378, allocations: 9.5 kB / 440 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.3378, allocations: 48.66 kB / 440 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3379, allocations: 50.97 kB / 440.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.3384, allocations: 355.7 kB / 440.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3385, allocations: 17.03 kB / 440.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.3385, allocations: 32.27 kB / 440.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.3391, allocations: 308.7 kB / 440.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3391, allocations: 1 kB / 440.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3391, allocations: 14.5 kB / 440.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3391, allocations: 3.312 kB / 440.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.3395, allocations: 142 kB / 440.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3406, allocations: 0.6748 MB / 441.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.3413, allocations: 312 kB / 441.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3414, allocations: 110 kB / 442 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3414, allocations: 2.219 kB / 442 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3415, allocations: 37.56 kB / 442 MB, free: 4.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.033e-06/0.3415, allocations: 4.719 kB / 442.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007076/0.3422, allocations: 390.1 kB / 442.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.3423, allocations: 370.2 kB / 442.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.3427, allocations: 404.4 kB / 443.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3427, allocations: 36.2 kB / 443.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3429, allocations: 198.1 kB / 443.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.3429, allocations: 87.47 kB / 443.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.3431, allocations: 101 kB / 443.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.3432, allocations: 360.9 kB / 444 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.3435, allocations: 206.6 kB / 444.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.3439, allocations: 323.2 kB / 444.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.3444, allocations: 392.2 kB / 444.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3444, allocations: 1.125 kB / 444.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001062/0.3455, allocations: 0.6573 MB / 445.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3455, allocations: 6.203 kB / 445.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/0.3455, allocations: 10.66 kB / 445.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.346, allocations: 128.9 kB / 445.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3463, allocations: 64.38 kB / 445.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.3495, allocations: 4.554 MB / 450.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3498, allocations: 47.39 kB / 450.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.3498, allocations: 12.89 kB / 450.3 MB, free: 14.29 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.0002473/0.35, allocations: 175.9 kB / 450.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.3501, allocations: 41.5 kB / 450.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.3502, allocations: 45.05 kB / 450.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3502, allocations: 2.844 kB / 450.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3502, allocations: 4.5 kB / 450.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3502, allocations: 10.03 kB / 450.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.3507, allocations: 347.5 kB / 450.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3507, allocations: 0 / 450.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.351, allocations: 41.53 kB / 451 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.351, allocations: 1 kB / 451 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.351, allocations: 12.27 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.351, allocations: 5.438 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.351, allocations: 4.688 kB / 451 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.3517, allocations: 0.5104 MB / 451.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.3518, allocations: 116.1 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3519, allocations: 11.45 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.352, allocations: 18.08 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3521, allocations: 16.22 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3521, allocations: 4.578 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3524, allocations: 271.2 kB / 451.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3524, allocations: 0 / 451.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002856/0.3553, allocations: 0.6551 MB / 452.6 MB, free: 13.25 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.003261/0.3585, allocations: 1.61 MB / 454.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.3601, allocations: 0.9215 MB / 455.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3601, allocations: 1.688 kB / 455.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.3604, allocations: 116.3 kB / 455.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/0.361, allocations: 125.5 kB / 455.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.3674, allocations: 4.508 MB / 459.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.3679, allocations: 0.8374 MB / 460.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.3682, allocations: 66.47 kB / 460.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.3683, allocations: 131.2 kB / 460.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.3684, allocations: 4 kB / 460.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.4216, allocations: 17.24 MB / 478.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.79, allocations: 7.938 kB / 478.2 MB, free: 11.27 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.24587959703058]