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.001875/0.001874, allocations: 114.2 kB / 17.78 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.002286/0.002286, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.0042/0.2644, allocations: 2.837 MB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2657, allocations: 0.6466 MB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.266, allocations: 12 kB / 412.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.2662, allocations: 47.5 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.2664, allocations: 83.19 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2666, allocations: 75.91 kB / 412.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.267, allocations: 350.9 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2673, allocations: 147.4 kB / 413 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2675, allocations: 131.6 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.2677, allocations: 151.3 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.2677, allocations: 32 kB / 413.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.2678, allocations: 32 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.2679, allocations: 67.77 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.268, allocations: 167.2 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.2684, allocations: 357.5 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2684, allocations: 0 / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2685, allocations: 0 / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2685, allocations: 4 kB / 413.9 MB, free: 12.42 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.0009345/0.2694, allocations: 0.5961 MB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2695, allocations: 16.03 kB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.2695, allocations: 62.73 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.2696, allocations: 32.75 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.27, allocations: 263.9 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2701, allocations: 16.94 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.2701, allocations: 32.38 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.2706, allocations: 253 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2706, allocations: 0 / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.2706, allocations: 12 kB / 415.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2707, allocations: 12 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.271, allocations: 186.1 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.2725, allocations: 1.01 MB / 416.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.273, allocations: 328.9 kB / 416.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.2732, allocations: 144.8 kB / 416.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2733, allocations: 7.938 kB / 416.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2733, allocations: 34.56 kB / 416.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.2733, allocations: 0 / 416.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001509/0.2748, allocations: 0.779 MB / 417.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2749, allocations: 55.41 kB / 417.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.2751, allocations: 195.2 kB / 417.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2751, allocations: 33.7 kB / 417.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2752, allocations: 172.6 kB / 418.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.2753, allocations: 95.16 kB / 418.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.2754, allocations: 45.98 kB / 418.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2755, allocations: 334.8 kB / 418.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2757, allocations: 72.53 kB / 418.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2759, allocations: 95.64 kB / 418.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.2761, allocations: 193.6 kB / 418.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2762, allocations: 0 / 418.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005338/0.2767, allocations: 314.1 kB / 419.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2767, allocations: 4 kB / 419.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2767, allocations: 8.016 kB / 419.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.277, allocations: 88.75 kB / 419.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.2772, allocations: 43.92 kB / 419.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.2794, allocations: 2.1 MB / 421.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2795, allocations: 11.97 kB / 421.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.2795, allocations: 8 kB / 421.5 MB, free: 4.328 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.0001464/0.2797, allocations: 137.8 kB / 421.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.2798, allocations: 23.86 kB / 421.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.2798, allocations: 29.86 kB / 421.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2798, allocations: 0 / 421.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2798, allocations: 4 kB / 421.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2798, allocations: 8 kB / 421.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2809, allocations: 0.7449 MB / 422.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.281, allocations: 0 / 422.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.2811, allocations: 43.91 kB / 422.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.2814, allocations: 72.8 kB / 422.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2814, allocations: 4 kB / 422.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.2833, allocations: 1.983 MB / 424.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2833, allocations: 7.969 kB / 424.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.284, allocations: 468.3 kB / 425 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.2841, allocations: 92.97 kB / 425.1 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2841, allocations: 8.062 kB / 425.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2843, allocations: 19.98 kB / 425.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.2843, allocations: 15.97 kB / 425.1 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.2844, allocations: 8 kB / 425.1 MB, free: 436 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.2845, allocations: 144.4 kB / 425.3 MB, free: 292 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2845, allocations: 0 / 425.3 MB, free: 292 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.2849, allocations: 76 kB / 425.3 MB, free: 216 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.001062/0.286, allocations: 0.9941 MB / 426.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007049/0.2867, allocations: 374.7 kB / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2867, allocations: 0 / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2872, allocations: 266.4 kB / 427 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.2876, allocations: 38.64 kB / 427 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.2912, allocations: 2.84 MB / 429.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.2916, allocations: 0.7712 MB / 430.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.2917, allocations: 18.3 kB / 430.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2918, allocations: 83.41 kB / 430.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2918, allocations: 4 kB / 430.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.3259, allocations: 5.785 MB / 436.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.56, allocations: 16.12 kB / 436.5 MB, free: 5.016 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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