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.001788/0.001788, allocations: 119.5 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 204.6 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.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2577, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007344/0.265, allocations: 5.773 MB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.2678, allocations: 1.204 MB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.2684, allocations: 20 kB / 415.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.2689, allocations: 170.4 kB / 416 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000817/0.2698, allocations: 277.4 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.2703, allocations: 231.6 kB / 416.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.2715, allocations: 1.056 MB / 417.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.2722, allocations: 0.5257 MB / 418.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.2726, allocations: 414.6 kB / 418.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.2731, allocations: 469.9 kB / 418.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2733, allocations: 96 kB / 419 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2734, allocations: 100 kB / 419.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.2737, allocations: 223.2 kB / 419.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000692/0.2744, allocations: 0.5016 MB / 419.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.2755, allocations: 1.104 MB / 420.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2756, allocations: 0 / 420.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2756, allocations: 0 / 420.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.2756, allocations: 8 kB / 420.9 MB, free: 5.305 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.00202/0.2776, allocations: 1.254 MB / 422.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2777, allocations: 12.03 kB / 422.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.2778, allocations: 152.1 kB / 422.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.278, allocations: 112.3 kB / 422.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.2788, allocations: 467.4 kB / 422.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.2789, allocations: 70.31 kB / 423 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.279, allocations: 92.38 kB / 423.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2803, allocations: 0.8715 MB / 424 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.2804, allocations: 0 / 424 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/0.2805, allocations: 40 kB / 424 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.2805, allocations: 27.94 kB / 424 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.2815, allocations: 0.5661 MB / 424.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.2859, allocations: 2.95 MB / 427.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.2863, allocations: 306.1 kB / 427.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.2867, allocations: 272.8 kB / 428.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2867, allocations: 4 kB / 428.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2868, allocations: 38.56 kB / 428.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.2868, allocations: 0 / 428.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001412/0.2882, allocations: 0.6552 MB / 428.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2882, allocations: 67.22 kB / 428.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.2888, allocations: 0.5103 MB / 429.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.2889, allocations: 37.7 kB / 429.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.2892, allocations: 0.4914 MB / 429.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2893, allocations: 162.7 kB / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.2895, allocations: 134.6 kB / 430.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2897, allocations: 366.8 kB / 430.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.2901, allocations: 177.9 kB / 430.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.2906, allocations: 453.5 kB / 431.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2917, allocations: 0.6518 MB / 431.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2917, allocations: 0 / 431.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001265/0.293, allocations: 0.757 MB / 432.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.293, allocations: 15.94 kB / 432.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.293, allocations: 12.58 kB / 432.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.2933, allocations: 84.81 kB / 432.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.294, allocations: 191.7 kB / 432.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.2963, allocations: 2.006 MB / 434.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2968, allocations: 83.36 kB / 435 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.2969, allocations: 35.94 kB / 435 MB, free: 6.5 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.0002816/0.2972, allocations: 214.7 kB / 435.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.2973, allocations: 67.89 kB / 435.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.2974, allocations: 57.52 kB / 435.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2974, allocations: 12.06 kB / 435.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2974, allocations: 3.938 kB / 435.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2974, allocations: 3.984 kB / 435.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.2982, allocations: 0.6493 MB / 436 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2983, allocations: 0 / 436 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.2987, allocations: 91.88 kB / 436.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.2989, allocations: 80.73 kB / 436.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.2989, allocations: 8 kB / 436.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.301, allocations: 1.987 MB / 438.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3011, allocations: 0 / 438.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.302, allocations: 0.6586 MB / 438.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3021, allocations: 136.7 kB / 439 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.3022, allocations: 15.98 kB / 439 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.3026, allocations: 44.25 kB / 439 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.3027, allocations: 27.91 kB / 439 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.3027, allocations: 15.98 kB / 439.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000452/0.3032, allocations: 350.8 kB / 439.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3032, allocations: 0 / 439.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007236/0.3039, allocations: 247.4 kB / 439.6 MB, free: 1.621 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.001214/0.3051, allocations: 1.218 MB / 440.9 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009525/0.3061, allocations: 0.5972 MB / 441.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3061, allocations: 4.188 kB / 441.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.3066, allocations: 322.6 kB / 441.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.3071, allocations: 116.9 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.007025/0.3142, allocations: 5.497 MB / 447.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3147, allocations: 0.9298 MB / 448.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.3149, allocations: 69.22 kB / 448.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.3152, allocations: 263.3 kB / 448.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3152, allocations: 0 / 448.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.3536, allocations: 12.81 MB / 461.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.69, allocations: 12.31 kB / 461.5 MB, free: 11.56 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