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.00128/0.00128, allocations: 122.2 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.00131/0.00131, 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.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006905/0.2742, allocations: 5.776 MB / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.277, allocations: 1.204 MB / 415.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.2777, allocations: 16 kB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.2782, allocations: 170.4 kB / 416 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00074/0.279, allocations: 277.4 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2795, allocations: 223.7 kB / 416.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2807, allocations: 1.064 MB / 417.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.2815, allocations: 0.5218 MB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.282, allocations: 410.6 kB / 418.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.2826, allocations: 478 kB / 418.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2827, allocations: 96 kB / 419 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.2829, allocations: 96 kB / 419.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.283, allocations: 219.2 kB / 419.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.2837, allocations: 0.5015 MB / 419.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.2849, allocations: 1.108 MB / 420.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2849, allocations: 4 kB / 420.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2849, allocations: 0 / 420.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.285, allocations: 4 kB / 420.9 MB, free: 5.328 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.001996/0.287, allocations: 1.258 MB / 422.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.287, allocations: 8.031 kB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.2872, allocations: 148.1 kB / 422.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.2874, allocations: 120.2 kB / 422.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.2881, allocations: 459.4 kB / 422.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.2881, allocations: 74.38 kB / 423 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2883, allocations: 96.36 kB / 423.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2896, allocations: 0.8754 MB / 424 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2897, allocations: 0 / 424 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.2898, allocations: 40 kB / 424 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.2898, allocations: 24 kB / 424 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.2908, allocations: 0.57 MB / 424.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.2952, allocations: 2.954 MB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.2957, allocations: 300.4 kB / 427.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2961, allocations: 276.8 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2961, allocations: 4 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.2962, allocations: 38.56 kB / 428.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.444e-06/0.2962, allocations: 0 / 428.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001466/0.2976, allocations: 0.6552 MB / 428.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2977, allocations: 59.34 kB / 428.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.2983, allocations: 0.5181 MB / 429.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.2984, allocations: 33.7 kB / 429.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.2987, allocations: 499.2 kB / 429.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.2989, allocations: 162.7 kB / 430.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.2991, allocations: 138.6 kB / 430.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.2993, allocations: 366.8 kB / 430.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2996, allocations: 169.9 kB / 430.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.3001, allocations: 449.6 kB / 431.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.301, allocations: 0.6517 MB / 431.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.301, allocations: 4 kB / 431.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001297/0.3023, allocations: 0.7609 MB / 432.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3024, allocations: 8 kB / 432.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3024, allocations: 8.594 kB / 432.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.3027, allocations: 92.78 kB / 432.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.3034, allocations: 191.7 kB / 432.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.3055, allocations: 2.006 MB / 434.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.3061, allocations: 87.36 kB / 435 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.3062, allocations: 39.94 kB / 435 MB, free: 6.52 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.000335/0.3066, allocations: 213.5 kB / 435.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3067, allocations: 63.62 kB / 435.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3068, allocations: 65.5 kB / 435.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3068, allocations: 8.062 kB / 435.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3068, allocations: 4 kB / 435.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3068, allocations: 3.984 kB / 435.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.3077, allocations: 0.6415 MB / 436 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3077, allocations: 3.984 kB / 436 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.3081, allocations: 103.9 kB / 436.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.3084, allocations: 73.08 kB / 436.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3084, allocations: 8 kB / 436.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.3104, allocations: 1.979 MB / 438.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3104, allocations: 0 / 438.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3115, allocations: 0.6741 MB / 438.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.3117, allocations: 136.7 kB / 439 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.3118, allocations: 7.984 kB / 439 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.3122, allocations: 47.97 kB / 439 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.3123, allocations: 27.97 kB / 439 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.3123, allocations: 15.98 kB / 439.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004203/0.3128, allocations: 338.9 kB / 439.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3128, allocations: 0 / 439.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009093/0.3137, allocations: 251.4 kB / 439.6 MB, free: 1.645 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.001396/0.3151, allocations: 1.222 MB / 440.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3162, allocations: 0.5973 MB / 441.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.3163, allocations: 8.062 kB / 441.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.3167, allocations: 306.8 kB / 441.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.3174, allocations: 129.5 kB / 441.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.325, allocations: 5.493 MB / 447.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.3257, allocations: 0.9337 MB / 448.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.326, allocations: 69.22 kB / 448.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3263, allocations: 267.3 kB / 448.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3263, allocations: 0 / 448.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.3716, allocations: 12.8 MB / 461.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 12.31 kB / 461.5 MB, free: 11.58 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.1.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