Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_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.001944/0.001944, allocations: 104.4 kB / 16.92 MB, free: 5.793 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.002277/0.002277, allocations: 191.3 kB / 17.85 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 37.47 kB / 300.7 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1591, allocations: 49.45 MB / 350.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.009244/0.1684, allocations: 5.75 MB / 355.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.1725, allocations: 1.169 MB / 357.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.1742, allocations: 16 kB / 357.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1754, allocations: 170.4 kB / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.1775, allocations: 273.4 kB / 357.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.1784, allocations: 227.7 kB / 357.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.1802, allocations: 1.056 MB / 358.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.1812, allocations: 0.5142 MB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007346/0.1819, allocations: 414.6 kB / 359.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.1826, allocations: 477.9 kB / 360.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.1828, allocations: 100 kB / 360.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.183, allocations: 96 kB / 360.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.1832, allocations: 223.2 kB / 360.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.1837, allocations: 0.4938 MB / 361.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.185, allocations: 1.098 MB / 362.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.185, allocations: 0 / 362.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.185, allocations: 0 / 362.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.185, allocations: 0 / 362.2 MB, free: 8.25 MB / 302.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.002168/0.1872, allocations: 1.247 MB / 363.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1872, allocations: 8.031 kB / 363.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.1874, allocations: 144.1 kB / 363.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1876, allocations: 111.7 kB / 363.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.1883, allocations: 455.1 kB / 364.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.1883, allocations: 74.31 kB / 364.2 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.1885, allocations: 92.38 kB / 364.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1899, allocations: 0.8715 MB / 365.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.1899, allocations: 0 / 365.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.19, allocations: 51.92 kB / 365.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.19, allocations: 24 kB / 365.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1911, allocations: 0.5661 MB / 365.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.1957, allocations: 2.956 MB / 368.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.1961, allocations: 294.9 kB / 369.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1965, allocations: 268.8 kB / 369.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1965, allocations: 7.984 kB / 369.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1966, allocations: 42.56 kB / 369.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.1966, allocations: 0 / 369.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001744/0.1983, allocations: 0.6509 MB / 370 MB, free: 128 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1984, allocations: 67.28 kB / 370.1 MB, free: 48 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2811/0.4795, allocations: 0.4992 MB / 370.6 MB, free: 25.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.282e-05/0.4796, allocations: 33.05 kB / 370.6 MB, free: 25.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.4799, allocations: 492.9 kB / 371.1 MB, free: 25.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.4801, allocations: 159.3 kB / 371.3 MB, free: 25.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4803, allocations: 134.1 kB / 371.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4805, allocations: 364.3 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.4809, allocations: 171.4 kB / 371.9 MB, free: 25.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.4815, allocations: 454.1 kB / 372.4 MB, free: 24.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.4825, allocations: 0.6484 MB / 373 MB, free: 24.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.4825, allocations: 3.594 kB / 373 MB, free: 24.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001732/0.4842, allocations: 0.7573 MB / 373.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.4843, allocations: 20.34 kB / 373.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.4843, allocations: 8.938 kB / 373.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.4849, allocations: 86.73 kB / 373.9 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.4857, allocations: 200.1 kB / 374.1 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.4881, allocations: 1.995 MB / 376.1 MB, free: 21.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.4888, allocations: 94.06 kB / 376.2 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.4888, allocations: 35.5 kB / 376.2 MB, free: 21.92 MB / 302.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.0004105/0.4893, allocations: 207.6 kB / 376.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.4894, allocations: 57.59 kB / 376.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.4895, allocations: 63.11 kB / 376.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.4895, allocations: 8.188 kB / 376.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.4895, allocations: 1.375 kB / 376.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4896, allocations: 6.906 kB / 376.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4906, allocations: 0.6462 MB / 377.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4906, allocations: 0.875 kB / 377.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.4911, allocations: 101.5 kB / 377.3 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.4914, allocations: 81.06 kB / 377.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4914, allocations: 6.109 kB / 377.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.4932, allocations: 1.982 MB / 379.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4932, allocations: 0 / 379.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4945, allocations: 0.6682 MB / 380 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.4946, allocations: 131.7 kB / 380.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.4947, allocations: 7.547 kB / 380.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.4952, allocations: 49.08 kB / 380.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4953, allocations: 31.36 kB / 380.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.4954, allocations: 10.34 kB / 380.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.4959, allocations: 347.6 kB / 380.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.496, allocations: 4 kB / 380.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001081/0.497, allocations: 244.9 kB / 380.8 MB, free: 18.75 MB / 302.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.001506/0.4986, allocations: 1.218 MB / 382 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5, allocations: 0.6046 MB / 382.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5, allocations: 5.094 kB / 382.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.5004, allocations: 321.4 kB / 383 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.5011, allocations: 111.9 kB / 383.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.5099, allocations: 5.637 MB / 388.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.5106, allocations: 0.9311 MB / 389.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000485/0.5111, allocations: 69.94 kB / 389.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.5114, allocations: 261.4 kB / 390 MB, free: 12.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5115, allocations: 0 / 390 MB, free: 12.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.5518, allocations: 12.58 MB / 402.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.29, allocations: 5.219 kB / 402.5 MB, free: 5.16 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches