Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_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.001679/0.001679, allocations: 101.5 kB / 17.58 MB, free: 5.418 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.001417/0.001417, allocations: 192 kB / 18.51 MB, free: 4.508 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.709/1.709, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.002001/0.002002, allocations: 55.92 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.006581/0.1671, allocations: 2.765 MB / 330.1 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1691, allocations: 0.6553 MB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.1697, allocations: 4 kB / 330.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.1702, allocations: 55.44 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.1708, allocations: 91.14 kB / 330.9 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1712, allocations: 75.89 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000821/0.1721, allocations: 350.9 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.1726, allocations: 135.2 kB / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.1729, allocations: 135.5 kB / 331.6 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/0.1733, allocations: 147.4 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1735, allocations: 36 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1736, allocations: 32 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1737, allocations: 67.77 kB / 331.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.174, allocations: 159.2 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1745, allocations: 359 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.1746, allocations: 4 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1746, allocations: 0 / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1746, allocations: 0 / 332.4 MB, free: 15.31 MB / 286.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.001405/0.176, allocations: 0.5964 MB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.1761, allocations: 8.031 kB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.1762, allocations: 66.72 kB / 333.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1763, allocations: 32.56 kB / 333.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.1769, allocations: 251.8 kB / 333.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1769, allocations: 24.94 kB / 333.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.177, allocations: 28.36 kB / 333.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.1775, allocations: 253 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1776, allocations: 0 / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1776, allocations: 8 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1776, allocations: 8 kB / 333.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.178, allocations: 190.1 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.1799, allocations: 1.021 MB / 334.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1804, allocations: 328.8 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.1807, allocations: 148.8 kB / 335.4 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1807, allocations: 0 / 335.4 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1808, allocations: 34.56 kB / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.1808, allocations: 0 / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001744/0.1825, allocations: 0.7729 MB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1826, allocations: 59.39 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1829, allocations: 190.3 kB / 336.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.1829, allocations: 33.7 kB / 336.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1831, allocations: 164.3 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.1832, allocations: 90.66 kB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.1833, allocations: 53.98 kB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1835, allocations: 330.8 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1836, allocations: 76.52 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1838, allocations: 94.81 kB / 337.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1841, allocations: 185.6 kB / 337.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1841, allocations: 3.938 kB / 337.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006509/0.1848, allocations: 314 kB / 337.7 MB, free: 9.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1848, allocations: 11.98 kB / 337.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1848, allocations: 0 / 337.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.1852, allocations: 84.84 kB / 337.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1854, allocations: 51.86 kB / 337.9 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.1878, allocations: 2.096 MB / 340 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1879, allocations: 15.88 kB / 340 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1879, allocations: 8 kB / 340 MB, free: 7.234 MB / 286.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.0002063/0.1881, allocations: 134.1 kB / 340.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.1882, allocations: 19.81 kB / 340.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.1883, allocations: 29.86 kB / 340.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1883, allocations: 8.062 kB / 340.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.1883, allocations: 0 / 340.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1883, allocations: 7.938 kB / 340.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1895, allocations: 0.7447 MB / 340.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1895, allocations: 0 / 340.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.1897, allocations: 47.91 kB / 341 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.1899, allocations: 72.83 kB / 341 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.19, allocations: 4 kB / 341 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.1923, allocations: 1.983 MB / 343 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1923, allocations: 0 / 343 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.193, allocations: 467.8 kB / 343.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.1931, allocations: 92.83 kB / 343.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.1931, allocations: 12.05 kB / 343.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1933, allocations: 8 kB / 343.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.1934, allocations: 23.97 kB / 343.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1934, allocations: 4 kB / 343.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1936, allocations: 144.3 kB / 343.8 MB, free: 3.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1936, allocations: 7.938 kB / 343.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000455/0.194, allocations: 76 kB / 343.8 MB, free: 3.125 MB / 286.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.00131/0.1954, allocations: 0.9984 MB / 344.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.1963, allocations: 382.4 kB / 345.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1963, allocations: 288 / 345.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.1968, allocations: 262.6 kB / 345.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.1974, allocations: 40.17 kB / 345.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.2018, allocations: 2.84 MB / 348.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.2024, allocations: 0.7675 MB / 349.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.2026, allocations: 14.3 kB / 349.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.2027, allocations: 91.41 kB / 349.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2027, allocations: 0 / 349.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.2439, allocations: 5.668 MB / 354.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.38, allocations: 15.75 kB / 354.9 MB, free: 7.824 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches