Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.002107/0.002107, allocations: 107.2 kB / 16.92 MB, free: 5.785 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.002335/0.002335, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.719/1.719, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002282, allocations: 51.08 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1656, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005977/0.1717, allocations: 2.804 MB / 353 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1736, allocations: 0.6115 MB / 353.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.1741, allocations: 8 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1745, allocations: 55.5 kB / 353.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.1749, allocations: 83.19 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1753, allocations: 75.89 kB / 353.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.1758, allocations: 354.9 kB / 354.1 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.1762, allocations: 143.4 kB / 354.3 MB, free: 184 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1764, allocations: 131.5 kB / 354.4 MB, free: 52 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1767, allocations: 147.5 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.1768, allocations: 32 kB / 354.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.1768, allocations: 32 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.1769, allocations: 75.69 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.1772, allocations: 155.3 kB / 354.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.1776, allocations: 358.9 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1776, allocations: 0 / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1776, allocations: 3.938 kB / 355.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.1777, allocations: 4 kB / 355.2 MB, free: 15.26 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001341/0.179, allocations: 0.5925 MB / 355.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.1791, allocations: 11.89 kB / 355.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.043e-05/0.1792, allocations: 66.72 kB / 355.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1793, allocations: 36.56 kB / 355.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1797, allocations: 260.3 kB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1798, allocations: 20.94 kB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.1798, allocations: 28.28 kB / 356.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.1804, allocations: 249 kB / 356.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1804, allocations: 4 kB / 356.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.1804, allocations: 8 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1805, allocations: 8 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.1809, allocations: 190.1 kB / 356.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1828, allocations: 1.01 MB / 357.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1833, allocations: 332.8 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1836, allocations: 148.8 kB / 358.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1836, allocations: 0 / 358.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1837, allocations: 34.56 kB / 358.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1837, allocations: 0 / 358.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001773/0.1855, allocations: 0.7835 MB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.1855, allocations: 59.34 kB / 359 MB, free: 11.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1858, allocations: 186.3 kB / 359.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1858, allocations: 33.7 kB / 359.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.186, allocations: 168.3 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.1861, allocations: 86.66 kB / 359.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.1862, allocations: 53.98 kB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1864, allocations: 334.8 kB / 359.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1866, allocations: 68.53 kB / 359.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1868, allocations: 103.6 kB / 360 MB, free: 10.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.1871, allocations: 182.1 kB / 360.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1871, allocations: 3.938 kB / 360.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005951/0.1877, allocations: 318 kB / 360.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1877, allocations: 4 kB / 360.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1877, allocations: 8.031 kB / 360.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.188, allocations: 80.81 kB / 360.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1882, allocations: 55.84 kB / 360.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.1907, allocations: 2.096 MB / 362.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1908, allocations: 15.95 kB / 362.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1909, allocations: 8 kB / 362.8 MB, free: 7.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.1911, allocations: 133.9 kB / 362.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1911, allocations: 23.81 kB / 362.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.1912, allocations: 25.88 kB / 363 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1912, allocations: 4 kB / 363 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1912, allocations: 0 / 363 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.1913, allocations: 7.922 kB / 363 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1924, allocations: 0.7372 MB / 363.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1924, allocations: 3.938 kB / 363.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1926, allocations: 35.98 kB / 363.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.1928, allocations: 72.8 kB / 363.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1929, allocations: 8 kB / 363.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.1951, allocations: 1.987 MB / 365.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1951, allocations: 3.938 kB / 365.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.1959, allocations: 467.9 kB / 366.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.1959, allocations: 100.8 kB / 366.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.196, allocations: 4.062 kB / 366.4 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1962, allocations: 12.12 kB / 366.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.1963, allocations: 19.97 kB / 366.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1963, allocations: 15.98 kB / 366.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1964, allocations: 144.3 kB / 366.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1964, allocations: 0 / 366.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.1969, allocations: 80 kB / 366.6 MB, free: 3.062 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,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.001161/0.1981, allocations: 1.017 MB / 367.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008339/0.1989, allocations: 366.8 kB / 368 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1989, allocations: 4.062 kB / 368 MB, free: 1.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.1994, allocations: 266.8 kB / 368.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.2, allocations: 31.98 kB / 368.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2431/0.4431, allocations: 2.804 MB / 371.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.4436, allocations: 0.7697 MB / 371.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.4438, allocations: 24.56 kB / 371.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.444, allocations: 87.64 kB / 372 MB, free: 23.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.296e-06/0.444, allocations: 0 / 372 MB, free: 23.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.4897, allocations: 5.667 MB / 377.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.25, allocations: 8.297 kB / 377.7 MB, free: 22.87 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches