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.001392/0.001392, allocations: 115 kB / 16.63 MB, free: 6.812 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.001158/0.001158, allocations: 186 kB / 17.55 MB, free: 5.934 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.589/1.589, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 51.05 kB / 300.2 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1524, allocations: 49.44 MB / 349.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.006481/0.1589, allocations: 2.842 MB / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.161, allocations: 0.6154 MB / 353.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.1615, allocations: 4 kB / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1619, allocations: 39.69 kB / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.1624, allocations: 79.38 kB / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1627, allocations: 63.94 kB / 353.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.1633, allocations: 346.9 kB / 353.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.1637, allocations: 143.3 kB / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1639, allocations: 135.5 kB / 353.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1642, allocations: 147.4 kB / 354.1 MB, free: 204 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1643, allocations: 32 kB / 354.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.1644, allocations: 32 kB / 354.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/0.1645, allocations: 71.77 kB / 354.2 MB, free: 68 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.1647, allocations: 163.3 kB / 354.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1651, allocations: 358.9 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.1652, allocations: 0 / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1652, allocations: 3.938 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1652, allocations: 0 / 354.7 MB, free: 15.55 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.001195/0.1664, allocations: 0.5964 MB / 355.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.845e-05/0.1665, allocations: 8.031 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.1666, allocations: 66.72 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1667, allocations: 32.56 kB / 355.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1671, allocations: 247.8 kB / 355.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1671, allocations: 20.94 kB / 355.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/0.1672, allocations: 32.27 kB / 355.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.1677, allocations: 257 kB / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.1678, allocations: 0 / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1678, allocations: 8 kB / 356 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1678, allocations: 8 kB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.1682, allocations: 190.2 kB / 356.2 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1701, allocations: 1.01 MB / 357.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.1706, allocations: 324.9 kB / 357.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.1709, allocations: 151.1 kB / 357.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1709, allocations: 4 kB / 357.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.171, allocations: 38.56 kB / 357.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 4.258e-06/0.171, allocations: 0 / 357.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001799/0.1728, allocations: 0.7849 MB / 358.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.1729, allocations: 55.41 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1731, allocations: 194.2 kB / 358.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1732, allocations: 25.7 kB / 358.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1733, allocations: 168.3 kB / 358.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1734, allocations: 94.66 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1735, allocations: 45.98 kB / 359 MB, free: 10.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003268/0.1739, allocations: 338.8 kB / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1741, allocations: 68.53 kB / 359.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1743, allocations: 99.66 kB / 359.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.1747, allocations: 186.1 kB / 359.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1747, allocations: 0 / 359.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006155/0.1753, allocations: 322 kB / 360 MB, free: 9.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1753, allocations: 10.81 kB / 360 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.1754, allocations: 0 / 360 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/0.1757, allocations: 88.78 kB / 360.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1759, allocations: 47.86 kB / 360.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.1787, allocations: 2.096 MB / 362.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1789, allocations: 11.94 kB / 362.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1789, allocations: 8 kB / 362.3 MB, free: 7.477 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.0002337/0.1791, allocations: 141.8 kB / 362.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.1792, allocations: 15.81 kB / 362.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.1793, allocations: 29.86 kB / 362.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1793, allocations: 4 kB / 362.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.1793, allocations: 0 / 362.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1793, allocations: 12 kB / 362.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1806, allocations: 0.7333 MB / 363.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1806, allocations: 0 / 363.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1808, allocations: 51.95 kB / 363.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.1811, allocations: 72.83 kB / 363.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1812, allocations: 4 kB / 363.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.1836, allocations: 1.983 MB / 365.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1836, allocations: 0 / 365.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.1844, allocations: 467.9 kB / 365.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1845, allocations: 101 kB / 365.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1846, allocations: 7.984 kB / 365.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1847, allocations: 8 kB / 365.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1849, allocations: 19.97 kB / 365.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1849, allocations: 8 kB / 365.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1851, allocations: 144.3 kB / 366.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1851, allocations: 0 / 366.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.1856, allocations: 80 kB / 366.2 MB, free: 3.371 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.001297/0.1869, allocations: 1.002 MB / 367.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008991/0.1878, allocations: 374.4 kB / 367.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1878, allocations: 3.938 kB / 367.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.1883, allocations: 270.8 kB / 367.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.1889, allocations: 40.3 kB / 367.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1974/0.3864, allocations: 2.929 MB / 370.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.3869, allocations: 0.7717 MB / 371.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.387, allocations: 16.94 kB / 371.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3872, allocations: 82.94 kB / 371.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.794e-06/0.3872, allocations: 0 / 371.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4128, allocations: 5.584 MB / 377.2 MB, free: 23.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.413, allocations: 232.2 kB / 377.4 MB, free: 22.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.615, allocations: 3.938 kB / 377.4 MB, free: 22.84 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