Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 110.5 kB / 17.73 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 187.1 kB / 18.66 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 56.39 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1147, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2674/0.3821, allocations: 5.701 MB / 380.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.3851, allocations: 1.201 MB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.3859, allocations: 20.62 kB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.3864, allocations: 173.7 kB / 381.8 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.3872, allocations: 274 kB / 382.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.3878, allocations: 219.3 kB / 382.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3892, allocations: 1.067 MB / 383.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.3901, allocations: 0.5177 MB / 383.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007138/0.3908, allocations: 412.8 kB / 384.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.3914, allocations: 476 kB / 384.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.3916, allocations: 104.5 kB / 384.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3918, allocations: 96.53 kB / 384.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.392, allocations: 210.6 kB / 385.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.3925, allocations: 0.5077 MB / 385.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3939, allocations: 1.1 MB / 386.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3939, allocations: 4 kB / 386.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3939, allocations: 1.375 kB / 386.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.394, allocations: 3.938 kB / 386.7 MB, free: 7.199 MB / 318.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.002243/0.3962, allocations: 1.264 MB / 388 MB, free: 6.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3963, allocations: 13.91 kB / 388 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.3964, allocations: 146.6 kB / 388.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.3966, allocations: 110.6 kB / 388.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.3974, allocations: 462.4 kB / 388.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.3974, allocations: 73 kB / 388.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3976, allocations: 89.36 kB / 388.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.399, allocations: 0.8771 MB / 389.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3991, allocations: 1 kB / 389.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/0.3992, allocations: 38.12 kB / 389.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.3992, allocations: 22.53 kB / 389.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4003, allocations: 0.5757 MB / 390.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.4051, allocations: 2.955 MB / 393.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.4057, allocations: 293.6 kB / 393.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.4061, allocations: 279.6 kB / 393.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4061, allocations: 3.875 kB / 393.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4062, allocations: 39.94 kB / 394 MB, free: 3.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.584e-06/0.4062, allocations: 0 / 394 MB, free: 3.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001625/0.4078, allocations: 0.6567 MB / 394.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.4078, allocations: 58.97 kB / 394.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.4086, allocations: 0.511 MB / 395.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.4087, allocations: 33.77 kB / 395.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.409, allocations: 0.495 MB / 395.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4091, allocations: 161.6 kB / 395.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.4094, allocations: 137.8 kB / 396 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4095, allocations: 365.1 kB / 396.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.4099, allocations: 167.2 kB / 396.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.4103, allocations: 455.7 kB / 397 MB, free: 1.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.411, allocations: 0.6452 MB / 397.6 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.411, allocations: 3.359 kB / 397.6 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001228/0.4122, allocations: 0.7649 MB / 398.4 MB, free: 124 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4123, allocations: 7.219 kB / 398.4 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4123, allocations: 15.03 kB / 398.4 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.4126, allocations: 82.38 kB / 398.5 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.4134, allocations: 196.5 kB / 398.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.4157, allocations: 2.009 MB / 400.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.4165, allocations: 86.23 kB / 400.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.4165, allocations: 41.66 kB / 400.8 MB, free: 14.21 MB / 334.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.0004389/0.417, allocations: 210.7 kB / 401 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4171, allocations: 66.55 kB / 401.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.4173, allocations: 66.22 kB / 401.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4173, allocations: 4.125 kB / 401.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.4174, allocations: 5.016 kB / 401.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4174, allocations: 2.734 kB / 401.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4186, allocations: 0.6446 MB / 401.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4186, allocations: 0 / 401.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.419, allocations: 99.72 kB / 401.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.4193, allocations: 72.83 kB / 402 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.4193, allocations: 7.641 kB / 402 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.4216, allocations: 1.986 MB / 404 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4216, allocations: 1.062 kB / 404 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4228, allocations: 0.6732 MB / 404.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.423, allocations: 136.4 kB / 404.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.4231, allocations: 6.25 kB / 404.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.4235, allocations: 49.23 kB / 404.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.4237, allocations: 28.69 kB / 404.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4237, allocations: 15.2 kB / 404.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005212/0.4242, allocations: 342.8 kB / 405.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4242, allocations: 4 kB / 405.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001086/0.4253, allocations: 249.4 kB / 405.4 MB, free: 11.02 MB / 334.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.001709/0.427, allocations: 1.217 MB / 406.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.4285, allocations: 0.605 MB / 407.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4285, allocations: 0 / 407.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.4292, allocations: 316.6 kB / 407.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.43, allocations: 120.8 kB / 407.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/0.439, allocations: 5.5 MB / 413.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.4398, allocations: 0.9354 MB / 414.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.4402, allocations: 68.38 kB / 414.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4405, allocations: 265.2 kB / 414.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4405, allocations: 0 / 414.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/0.4908, allocations: 12.82 MB / 427.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.3, allocations: 15.95 kB / 427.3 MB, free: 9.094 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches