Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001451/0.001451, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001519/0.001519, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 55.92 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 49.12 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002559/0.251, allocations: 2.007 MB / 394.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.2562, allocations: 3.747 MB / 397.9 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2564, allocations: 20.31 kB / 397.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.2569, allocations: 190.7 kB / 398.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.257, allocations: 43.48 kB / 398.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.2616, allocations: 1.927 MB / 400 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.2623, allocations: 0.4934 MB / 400.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2625, allocations: 36.97 kB / 400.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2627, allocations: 180.5 kB / 400.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2629, allocations: 182.6 kB / 400.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.263, allocations: 23.81 kB / 400.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.2656, allocations: 1.799 MB / 402.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2658, allocations: 127.1 kB / 402.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2659, allocations: 167.3 kB / 403 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.2678, allocations: 1.777 MB / 404.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2678, allocations: 0 / 404.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2678, allocations: 0 / 404.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.2678, allocations: 0 / 404.8 MB, free: 2.523 MB / 318.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.00173/0.2695, allocations: 0.9144 MB / 405.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2696, allocations: 9.625 kB / 405.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.2696, allocations: 4.594 kB / 405.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.2696, allocations: 52.23 kB / 405.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.2697, allocations: 51.98 kB / 405.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.2701, allocations: 358.4 kB / 406.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2701, allocations: 21.8 kB / 406.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.2702, allocations: 31.98 kB / 406.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.2706, allocations: 307.2 kB / 406.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2706, allocations: 1.375 kB / 406.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2706, allocations: 6.688 kB / 406.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2706, allocations: 6.422 kB / 406.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.2709, allocations: 148.5 kB / 406.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.2718, allocations: 0.672 MB / 407.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.2724, allocations: 316.3 kB / 407.7 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.2726, allocations: 108.6 kB / 407.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2726, allocations: 2.469 kB / 407.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2726, allocations: 40.88 kB / 407.8 MB, free: 276 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.2726, allocations: 0 / 407.8 MB, free: 276 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006279/0.2732, allocations: 377.7 kB / 408.2 MB, free: 80 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.2734, allocations: 369.3 kB / 408.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.2739, allocations: 414.4 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.2739, allocations: 36.36 kB / 409 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2741, allocations: 189.2 kB / 409.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.2741, allocations: 92.81 kB / 409.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2743, allocations: 103.1 kB / 409.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.2745, allocations: 353.9 kB / 409.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.2748, allocations: 209.9 kB / 409.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.2753, allocations: 322 kB / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.2758, allocations: 393.2 kB / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2758, allocations: 0 / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001145/0.277, allocations: 0.6558 MB / 411.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.277, allocations: 4.281 kB / 411.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.277, allocations: 6.812 kB / 411.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.2775, allocations: 125.1 kB / 411.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2778, allocations: 67.42 kB / 411.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.2819, allocations: 4.569 MB / 416 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.2821, allocations: 56.05 kB / 416.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.2821, allocations: 8.5 kB / 416.1 MB, free: 9.152 MB / 334.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.0002395/0.2824, allocations: 182 kB / 416.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2825, allocations: 36.42 kB / 416.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.2825, allocations: 45.81 kB / 416.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2826, allocations: 6.188 kB / 416.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2826, allocations: 0 / 416.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2826, allocations: 3.984 kB / 416.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.283, allocations: 348.7 kB / 416.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.283, allocations: 0 / 416.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2833, allocations: 42.81 kB / 416.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2833, allocations: 1.281 kB / 416.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.2833, allocations: 25.08 kB / 416.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2833, allocations: 1.125 kB / 416.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2833, allocations: 0 / 416.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.284, allocations: 0.4979 MB / 417.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.2841, allocations: 114.5 kB / 417.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.2841, allocations: 18.41 kB / 417.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2843, allocations: 10.36 kB / 417.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2843, allocations: 22.41 kB / 417.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2844, allocations: 4.25 kB / 417.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.2847, allocations: 271 kB / 417.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2847, allocations: 0 / 417.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002963/0.2876, allocations: 0.6551 MB / 418.4 MB, free: 7.91 MB / 334.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.002795/0.2904, allocations: 1.615 MB / 420 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.2919, allocations: 0.9219 MB / 420.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2919, allocations: 1.375 kB / 420.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.2922, allocations: 121.8 kB / 421 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.2928, allocations: 111 kB / 421.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.2991, allocations: 4.511 MB / 425.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.2996, allocations: 0.8421 MB / 426.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.2998, allocations: 62.94 kB / 426.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3, allocations: 135.4 kB / 426.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3, allocations: 0 / 426.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.3456, allocations: 17.21 MB / 443.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.41, allocations: 3.938 kB / 443.9 MB, free: 15.36 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.799233019992243]