Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001631, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 204.6 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2936, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00429/0.2979, allocations: 2.83 MB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2992, allocations: 0.6427 MB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2994, allocations: 4 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2996, allocations: 51.5 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.2998, allocations: 87.19 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3, allocations: 75.84 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.3004, allocations: 354.9 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3007, allocations: 147.4 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3009, allocations: 131.5 kB / 413.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.3011, allocations: 147.4 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.3011, allocations: 31.98 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.3012, allocations: 32 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.3013, allocations: 71.7 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3015, allocations: 159.3 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.302, allocations: 361.5 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.302, allocations: 0 / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.302, allocations: 0 / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.302, allocations: 0 / 413.9 MB, free: 12.35 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009952/0.303, allocations: 0.6078 MB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.303, allocations: 8.031 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.471e-05/0.3031, allocations: 74.72 kB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.3032, allocations: 32.75 kB / 414.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3036, allocations: 251.9 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3036, allocations: 20.94 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.3037, allocations: 36.36 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.3042, allocations: 245 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3042, allocations: 3.938 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.3042, allocations: 16 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3043, allocations: 4 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.3046, allocations: 194.1 kB / 415.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3063, allocations: 1.006 MB / 416.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3068, allocations: 332.9 kB / 416.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.307, allocations: 150.7 kB / 416.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3071, allocations: 4 kB / 416.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3071, allocations: 34.56 kB / 416.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.3071, allocations: 0 / 416.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001526/0.3086, allocations: 0.7835 MB / 417.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3087, allocations: 51.41 kB / 417.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3089, allocations: 191.2 kB / 417.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.309, allocations: 33.7 kB / 418 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3091, allocations: 172.6 kB / 418.1 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.3092, allocations: 95.17 kB / 418.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.3093, allocations: 45.98 kB / 418.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3095, allocations: 334.8 kB / 418.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3097, allocations: 76.53 kB / 418.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.3098, allocations: 95.59 kB / 418.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.3101, allocations: 189.7 kB / 419 MB, free: 6.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3101, allocations: 0 / 419 MB, free: 6.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005673/0.3107, allocations: 318.1 kB / 419.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3108, allocations: 11.94 kB / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3108, allocations: 0 / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.3111, allocations: 92.78 kB / 419.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3113, allocations: 43.86 kB / 419.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.3135, allocations: 2.092 MB / 421.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3137, allocations: 12 kB / 421.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3137, allocations: 12 kB / 421.5 MB, free: 4.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3138, allocations: 133.8 kB / 421.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.3139, allocations: 19.86 kB / 421.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.314, allocations: 29.86 kB / 421.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.314, allocations: 4 kB / 421.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.314, allocations: 4 kB / 421.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.314, allocations: 7.875 kB / 421.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3151, allocations: 0.7449 MB / 422.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3151, allocations: 0 / 422.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3153, allocations: 39.97 kB / 422.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.3155, allocations: 80.72 kB / 422.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3156, allocations: 4 kB / 422.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.3175, allocations: 1.995 MB / 424.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3176, allocations: 0 / 424.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.3183, allocations: 468.4 kB / 425.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.3184, allocations: 92.97 kB / 425.1 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3184, allocations: 8.047 kB / 425.1 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3186, allocations: 12 kB / 425.2 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.3186, allocations: 23.91 kB / 425.2 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3187, allocations: 12 kB / 425.2 MB, free: 348 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3188, allocations: 140.4 kB / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3188, allocations: 0 / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.3192, allocations: 76 kB / 425.4 MB, free: 132 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.3203, allocations: 0.998 MB / 426.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007252/0.321, allocations: 370.7 kB / 426.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3211, allocations: 4.062 kB / 426.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.3216, allocations: 262.4 kB / 427 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.322, allocations: 32.23 kB / 427.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3257, allocations: 2.832 MB / 429.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3262, allocations: 0.7751 MB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.3263, allocations: 18.28 kB / 430.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3264, allocations: 87.41 kB / 430.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3264, allocations: 192 / 430.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.3592, allocations: 5.785 MB / 436.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.39, allocations: 20.12 kB / 436.6 MB, free: 4.938 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches