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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 106.1 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 43.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2537, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002804/0.2565, allocations: 1.998 MB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.2615, allocations: 3.676 MB / 405.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2616, allocations: 11.88 kB / 405.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.2621, allocations: 175.1 kB / 406.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2622, allocations: 47.56 kB / 406.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2659, allocations: 1.943 MB / 408.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.2664, allocations: 0.4949 MB / 408.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2666, allocations: 45.06 kB / 408.6 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2667, allocations: 187.4 kB / 408.8 MB, free: 236 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.267, allocations: 171.1 kB / 409 MB, free: 64 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.267, allocations: 24 kB / 409 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.2689, allocations: 1.78 MB / 410.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2691, allocations: 123.6 kB / 410.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.2692, allocations: 159 kB / 411 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.2707, allocations: 1.781 MB / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2707, allocations: 0 / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2707, allocations: 4 kB / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2707, allocations: 0 / 412.8 MB, free: 12.19 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.001306/0.2721, allocations: 0.8919 MB / 413.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2721, allocations: 12.03 kB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.2722, allocations: 50.73 kB / 413.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.2722, allocations: 48.31 kB / 413.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.2727, allocations: 358 kB / 414.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2727, allocations: 16.27 kB / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.2728, allocations: 24 kB / 414.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.2732, allocations: 307.1 kB / 414.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2732, allocations: 3.938 kB / 414.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2732, allocations: 8 kB / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2732, allocations: 3.938 kB / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.2735, allocations: 148.7 kB / 414.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2746, allocations: 0.6755 MB / 415.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.2752, allocations: 318.7 kB / 415.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.2754, allocations: 112.8 kB / 415.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2754, allocations: 4 kB / 415.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2754, allocations: 34.56 kB / 415.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.2754, allocations: 4 kB / 415.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006933/0.2761, allocations: 376.2 kB / 416.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.2763, allocations: 371.8 kB / 416.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.2767, allocations: 405.8 kB / 416.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2767, allocations: 41.7 kB / 417 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2768, allocations: 196.7 kB / 417.2 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.2769, allocations: 78.81 kB / 417.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.277, allocations: 97.67 kB / 417.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2772, allocations: 358.7 kB / 417.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2775, allocations: 208.4 kB / 417.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.2778, allocations: 318.4 kB / 418.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.2784, allocations: 397.6 kB / 418.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2784, allocations: 0 / 418.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001003/0.2794, allocations: 0.6535 MB / 419.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2794, allocations: 8 kB / 419.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.2795, allocations: 4 kB / 419.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.2799, allocations: 130.4 kB / 419.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.2801, allocations: 63.95 kB / 419.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.2834, allocations: 4.554 MB / 424 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2836, allocations: 59.39 kB / 424.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.2836, allocations: 8 kB / 424.1 MB, free: 104 kB / 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.0001906/0.2838, allocations: 181.8 kB / 424.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.2839, allocations: 39.47 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.284, allocations: 43.75 kB / 424.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.284, allocations: 4 kB / 424.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.284, allocations: 0 / 424.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.284, allocations: 3.984 kB / 424.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.2843, allocations: 345.3 kB / 424.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2844, allocations: 3.984 kB / 424.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.2846, allocations: 39.97 kB / 424.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2846, allocations: 3.938 kB / 424.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.2847, allocations: 19.92 kB / 424.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2847, allocations: 7.938 kB / 424.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2847, allocations: 4 kB / 424.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.2853, allocations: 0.4948 MB / 425.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.2854, allocations: 116.5 kB / 425.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2854, allocations: 8 kB / 425.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2856, allocations: 15.98 kB / 425.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.2857, allocations: 23.97 kB / 425.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2857, allocations: 4 kB / 425.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.2859, allocations: 267.1 kB / 425.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 425.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0016/0.2875, allocations: 0.6562 MB / 426.3 MB, free: 13.75 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.001932/0.2895, allocations: 1.604 MB / 427.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.2907, allocations: 0.95 MB / 428.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2907, allocations: 0 / 428.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2909, allocations: 127.8 kB / 429 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.2915, allocations: 112.2 kB / 429.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.2966, allocations: 4.492 MB / 433.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2969, allocations: 0.838 MB / 434.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.2971, allocations: 66.92 kB / 434.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.2973, allocations: 131.4 kB / 434.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2973, allocations: 0 / 434.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.584/4.882, allocations: 17.28 MB / 451.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/22.94, allocations: 6.422 kB / 451.9 MB, free: 4.055 MB / 366.1 MB (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 --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) 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) Reference file matches