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.001499/0.001499, allocations: 121 kB / 18.5 MB, free: 4.562 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.00155/0.00155, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.418/1.418, allocations: 230.6 MB / 254.8 MB, free: 15.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09819, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003117/0.1013, allocations: 2.025 MB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1849/0.2862, allocations: 3.736 MB / 432.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.2864, allocations: 20.41 kB / 432.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.2869, allocations: 181.9 kB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.287, allocations: 46.34 kB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.2911, allocations: 1.931 MB / 434.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.2917, allocations: 0.4928 MB / 435.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2918, allocations: 31.39 kB / 435.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2921, allocations: 186.1 kB / 435.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2923, allocations: 178.7 kB / 435.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.2923, allocations: 22.88 kB / 435.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2948, allocations: 1.816 MB / 437.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.295, allocations: 124.9 kB / 437.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.2951, allocations: 167.3 kB / 438 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.297, allocations: 1.787 MB / 439.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.297, allocations: 0 / 439.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.297, allocations: 3.938 kB / 439.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.297, allocations: 0 / 439.7 MB, free: 6.625 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.001546/0.2986, allocations: 0.9192 MB / 440.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2986, allocations: 9.688 kB / 440.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.806e-05/0.2987, allocations: 7.719 kB / 440.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2987, allocations: 49.44 kB / 440.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2988, allocations: 51.2 kB / 440.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.2993, allocations: 354.4 kB / 441.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2993, allocations: 19.47 kB / 441.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2993, allocations: 28.44 kB / 441.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.2998, allocations: 315.2 kB / 441.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2998, allocations: 0 / 441.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2998, allocations: 6.156 kB / 441.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2998, allocations: 3.656 kB / 441.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.3001, allocations: 149.5 kB / 441.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3011, allocations: 0.6733 MB / 442.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.3016, allocations: 314.9 kB / 442.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3018, allocations: 106.7 kB / 442.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3018, allocations: 6.312 kB / 442.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3019, allocations: 33.58 kB / 442.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.3019, allocations: 0 / 442.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006381/0.3025, allocations: 386.1 kB / 443.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.3026, allocations: 373.2 kB / 443.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.3029, allocations: 410 kB / 443.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.303, allocations: 32.14 kB / 443.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3031, allocations: 202.3 kB / 444.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.3031, allocations: 85.41 kB / 444.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3032, allocations: 100.3 kB / 444.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.3033, allocations: 365.2 kB / 444.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.3036, allocations: 207 kB / 444.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.304, allocations: 318.2 kB / 445.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.3045, allocations: 393.1 kB / 445.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3045, allocations: 5 kB / 445.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001011/0.3055, allocations: 0.651 MB / 446.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3055, allocations: 9.531 kB / 446.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.3056, allocations: 7.328 kB / 446.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.306, allocations: 132.8 kB / 446.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3062, allocations: 62.42 kB / 446.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3094, allocations: 4.557 MB / 451 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.3096, allocations: 42.59 kB / 451 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.3096, allocations: 13.42 kB / 451 MB, free: 14.27 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.0002103/0.3098, allocations: 175.1 kB / 451.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.3099, allocations: 45.62 kB / 451.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.973e-05/0.31, allocations: 46.34 kB / 451.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.31, allocations: 6.312 kB / 451.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.31, allocations: 5.031 kB / 451.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.31, allocations: 1.312 kB / 451.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.3104, allocations: 350.2 kB / 451.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3104, allocations: 0.6562 kB / 451.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.3107, allocations: 45.38 kB / 451.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3107, allocations: 1.25 kB / 451.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.3107, allocations: 12.05 kB / 451.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3107, allocations: 3.938 kB / 451.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3107, allocations: 5.453 kB / 451.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.3114, allocations: 0.5031 MB / 452.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.3115, allocations: 116.7 kB / 452.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.3116, allocations: 16.19 kB / 452.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3118, allocations: 15.25 kB / 452.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3118, allocations: 10.72 kB / 452.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3118, allocations: 12.17 kB / 452.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.3121, allocations: 272.2 kB / 452.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3121, allocations: 0 / 452.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002909/0.315, allocations: 0.6506 MB / 453.3 MB, free: 13.23 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.00235/0.3174, allocations: 1.613 MB / 454.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3188, allocations: 0.9223 MB / 455.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3188, allocations: 5.281 kB / 455.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.319, allocations: 114.8 kB / 456 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.3197, allocations: 121.1 kB / 456.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.3262, allocations: 4.505 MB / 460.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.3266, allocations: 0.8373 MB / 461.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.3269, allocations: 73.62 kB / 461.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.327, allocations: 132.1 kB / 461.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.327, allocations: 0 / 461.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.3742, allocations: 17.26 MB / 478.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.44, allocations: 12 kB / 478.9 MB, free: 11.19 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: 12.968632312025875]