Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002034, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2763, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006875/0.2833, allocations: 5.78 MB / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2859, allocations: 1.196 MB / 415.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.287, allocations: 19.94 kB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.2879, allocations: 170.4 kB / 416 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.2891, allocations: 281.5 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.29, allocations: 223.6 kB / 416.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2914, allocations: 1.06 MB / 417.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006879/0.2921, allocations: 0.5218 MB / 418 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.2925, allocations: 418.6 kB / 418.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.293, allocations: 469.9 kB / 418.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.2931, allocations: 100 kB / 419 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2933, allocations: 96 kB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2935, allocations: 223.2 kB / 419.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.2939, allocations: 0.4977 MB / 419.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2949, allocations: 1.115 MB / 420.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2949, allocations: 0 / 420.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2949, allocations: 0 / 420.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2949, allocations: 0 / 420.9 MB, free: 5.32 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001831/0.2968, allocations: 1.258 MB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2968, allocations: 8.031 kB / 422.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.297, allocations: 148.1 kB / 422.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2971, allocations: 112.3 kB / 422.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2978, allocations: 471.3 kB / 422.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.2978, allocations: 74.38 kB / 423 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2979, allocations: 92.38 kB / 423.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2992, allocations: 0.8676 MB / 423.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2992, allocations: 0 / 423.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2993, allocations: 44 kB / 424 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.2993, allocations: 24 kB / 424 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.3003, allocations: 0.5738 MB / 424.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.3041, allocations: 2.95 MB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3045, allocations: 298.2 kB / 427.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.3049, allocations: 272.8 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3049, allocations: 4 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.305, allocations: 46.5 kB / 428.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.305, allocations: 0 / 428.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00135/0.3063, allocations: 0.6474 MB / 428.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3064, allocations: 63.34 kB / 428.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.3069, allocations: 0.5143 MB / 429.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.307, allocations: 37.64 kB / 429.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.3073, allocations: 499.2 kB / 429.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3074, allocations: 162.7 kB / 430 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.3076, allocations: 142.6 kB / 430.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3078, allocations: 362.8 kB / 430.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.308, allocations: 169.9 kB / 430.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.3085, allocations: 457.6 kB / 431.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.3092, allocations: 0.644 MB / 431.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3093, allocations: 4 kB / 431.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00109/0.3104, allocations: 0.7652 MB / 432.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3104, allocations: 8 kB / 432.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3104, allocations: 8 kB / 432.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3107, allocations: 96.67 kB / 432.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.3114, allocations: 195.9 kB / 432.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3132, allocations: 2.002 MB / 434.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.3137, allocations: 87.36 kB / 435 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3137, allocations: 44 kB / 435 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002502/0.314, allocations: 217.5 kB / 435.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.3141, allocations: 63.62 kB / 435.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.3142, allocations: 61.52 kB / 435.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3142, allocations: 4 kB / 435.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.3142, allocations: 7.984 kB / 435.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3142, allocations: 0 / 435.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.3149, allocations: 0.6376 MB / 436 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3149, allocations: 7.938 kB / 436 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.3153, allocations: 99.88 kB / 436.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.3155, allocations: 73.02 kB / 436.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.3155, allocations: 8 kB / 436.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.3171, allocations: 1.987 MB / 438.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3172, allocations: 0 / 438.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.318, allocations: 0.6664 MB / 438.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3182, allocations: 144.8 kB / 439 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.3183, allocations: 8 kB / 439 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.3186, allocations: 43.97 kB / 439 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3187, allocations: 35.95 kB / 439 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.3188, allocations: 12 kB / 439.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.3192, allocations: 342.9 kB / 439.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3192, allocations: 4 kB / 439.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.3199, allocations: 247.4 kB / 439.6 MB, free: 1.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001182/0.3211, allocations: 1.218 MB / 440.9 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009151/0.322, allocations: 0.5975 MB / 441.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.322, allocations: 4 kB / 441.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.3225, allocations: 314.7 kB / 441.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.3231, allocations: 129.3 kB / 441.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.3297, allocations: 5.493 MB / 447.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.3303, allocations: 0.9298 MB / 448.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.3306, allocations: 69.22 kB / 448.4 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.3309, allocations: 263.3 kB / 448.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3309, allocations: 0 / 448.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.3686, allocations: 12.81 MB / 461.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.49, allocations: 11.02 kB / 461.5 MB, free: 11.57 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches