Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.253, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003426/0.2564, allocations: 2.025 MB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007549/0.264, allocations: 3.709 MB / 428.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.2641, allocations: 19.75 kB / 428.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.2647, allocations: 191.1 kB / 428.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.2649, allocations: 39.59 kB / 428.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.2697, allocations: 1.925 MB / 430.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.2704, allocations: 0.5027 MB / 431 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2705, allocations: 33.25 kB / 431.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.2707, allocations: 187.3 kB / 431.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.271, allocations: 175.2 kB / 431.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.271, allocations: 20 kB / 431.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.2736, allocations: 1.908 MB / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2738, allocations: 123.6 kB / 433.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.274, allocations: 166.9 kB / 433.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.2759, allocations: 1.8 MB / 435.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2759, allocations: 0 / 435.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2759, allocations: 0 / 435.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2759, allocations: 0 / 435.4 MB, free: 1.762 MB / 334.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.001499/0.2774, allocations: 0.8468 MB / 436.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2774, allocations: 12.03 kB / 436.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.2775, allocations: 42.75 kB / 436.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.2776, allocations: 48.66 kB / 436.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.278, allocations: 303 kB / 436.7 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2781, allocations: 16.28 kB / 436.7 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.2781, allocations: 28 kB / 436.7 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.2786, allocations: 307.9 kB / 437 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2786, allocations: 0 / 437 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.2786, allocations: 8 kB / 437 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2786, allocations: 4 kB / 437 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.2789, allocations: 148.7 kB / 437.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2801, allocations: 0.6436 MB / 437.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.2807, allocations: 323.8 kB / 438.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.2809, allocations: 104.8 kB / 438.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2809, allocations: 4 kB / 438.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.281, allocations: 34.56 kB / 438.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.281, allocations: 0 / 438.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007002/0.2817, allocations: 387.4 kB / 438.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.2819, allocations: 375.7 kB / 439 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.2823, allocations: 405.8 kB / 439.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.2823, allocations: 33.7 kB / 439.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2825, allocations: 200.9 kB / 439.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2825, allocations: 91.22 kB / 439.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2827, allocations: 97.69 kB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2829, allocations: 358.8 kB / 440.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.2832, allocations: 204.4 kB / 440.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.2836, allocations: 318 kB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.2842, allocations: 396.7 kB / 441.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2842, allocations: 0 / 441.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001089/0.2853, allocations: 0.6487 MB / 441.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2853, allocations: 7.938 kB / 441.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.2853, allocations: 15.98 kB / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.2857, allocations: 122.5 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.286, allocations: 63.89 kB / 441.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.2898, allocations: 4.261 MB / 446.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.29, allocations: 47.64 kB / 446.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.29, allocations: 12 kB / 446.3 MB, free: 6.227 MB / 350.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.0002203/0.2902, allocations: 173.8 kB / 446.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.2903, allocations: 43.66 kB / 446.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.2904, allocations: 55.89 kB / 446.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2904, allocations: 0 / 446.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2904, allocations: 0 / 446.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2904, allocations: 4 kB / 446.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.2908, allocations: 308.5 kB / 446.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2908, allocations: 0 / 446.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.2911, allocations: 43.91 kB / 446.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2911, allocations: 3.938 kB / 446.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.2911, allocations: 15.98 kB / 446.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2911, allocations: 0 / 446.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2911, allocations: 0 / 446.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.2919, allocations: 0.5029 MB / 447.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.2919, allocations: 43.58 kB / 447.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.292, allocations: 15.98 kB / 447.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2921, allocations: 12 kB / 447.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2922, allocations: 19.91 kB / 447.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.2922, allocations: 4 kB / 447.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.2925, allocations: 279.1 kB / 447.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2925, allocations: 3.938 kB / 447.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001869/0.2944, allocations: 0.6558 MB / 448.4 MB, free: 3.992 MB / 350.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.002332/0.2967, allocations: 1.614 MB / 450 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.2981, allocations: 0.9103 MB / 450.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.2981, allocations: 4 kB / 450.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2983, allocations: 119.8 kB / 451.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.2989, allocations: 123.2 kB / 451.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.3051, allocations: 4.51 MB / 455.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.3056, allocations: 0.8418 MB / 456.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.3058, allocations: 70.91 kB / 456.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.306, allocations: 135.4 kB / 456.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.306, allocations: 0 / 456.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/0.3642, allocations: 17.39 MB / 474.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.5, allocations: 0 / 474.1 MB, free: 10.24 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.950773519929498]