Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009906/0.0009909, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 226.6 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008128/0.000813, allocations: 90.86 kB / 296.8 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002154, allocations: 8 kB / 356.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1821, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.003345/0.1855, allocations: 5.005 MB / 413 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1867, allocations: 1.167 MB / 414.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.187, allocations: 19.94 kB / 414.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1872, allocations: 127 kB / 414.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1875, allocations: 242 kB / 414.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1878, allocations: 159.8 kB / 414.7 MB, free: 21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.1884, allocations: 0.9893 MB / 415.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.1888, allocations: 444.6 kB / 416.2 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.189, allocations: 334.8 kB / 416.5 MB, free: 19.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.1894, allocations: 390.2 kB / 416.9 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.1894, allocations: 48 kB / 416.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1896, allocations: 52 kB / 417 MB, free: 18.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.1896, allocations: 163.3 kB / 417.1 MB, free: 18.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.1899, allocations: 447.7 kB / 417.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.1903, allocations: 0.8032 MB / 418.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1903, allocations: 7.938 kB / 418.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1903, allocations: 0 / 418.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1904, allocations: 4 kB / 418.4 MB, free: 17.32 MB / 298.7 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.001294/0.1917, allocations: 1.072 MB / 419.5 MB, free: 16.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1917, allocations: 8.031 kB / 419.5 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1918, allocations: 103.7 kB / 419.6 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1922, allocations: 447.2 kB / 420 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1923, allocations: 78.31 kB / 420.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.119e-05/0.1924, allocations: 104.3 kB / 420.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1934, allocations: 0.86 MB / 421 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1934, allocations: 4 kB / 421 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.1935, allocations: 36 kB / 421.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1935, allocations: 35.88 kB / 421.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.1943, allocations: 0.5661 MB / 421.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.1974, allocations: 2.972 MB / 424.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1978, allocations: 308.5 kB / 425 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.1981, allocations: 273.5 kB / 425.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1981, allocations: 11.78 kB / 425.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1981, allocations: 38.56 kB / 425.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.1981, allocations: 0 / 425.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001167/0.1993, allocations: 0.6582 MB / 425.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.1993, allocations: 59.34 kB / 426 MB, free: 9.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1997, allocations: 0.5101 MB / 426.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1998, allocations: 37.7 kB / 426.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1999, allocations: 485.6 kB / 427 MB, free: 8.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.2, allocations: 165.7 kB / 427.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.2, allocations: 19.94 kB / 427.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2001, allocations: 366.8 kB / 427.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.2003, allocations: 169.9 kB / 427.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.2006, allocations: 445.6 kB / 428.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.2012, allocations: 0.6481 MB / 428.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2012, allocations: 11.94 kB / 428.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009327/0.2022, allocations: 0.7455 MB / 429.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2022, allocations: 11.94 kB / 429.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2022, allocations: 12 kB / 429.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.2024, allocations: 84.8 kB / 429.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.2031, allocations: 195.9 kB / 429.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2043, allocations: 1.799 MB / 431.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.2047, allocations: 91.05 kB / 431.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2047, allocations: 36 kB / 431.8 MB, free: 3.199 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.2049, allocations: 213.6 kB / 432 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.205, allocations: 59.34 kB / 432 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.2051, allocations: 61.78 kB / 432.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2051, allocations: 4 kB / 432.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2051, allocations: 4 kB / 432.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2051, allocations: 3.938 kB / 432.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.2056, allocations: 0.6492 MB / 432.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2056, allocations: 0 / 432.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.206, allocations: 103.9 kB / 432.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.2062, allocations: 68.8 kB / 432.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2062, allocations: 8 kB / 432.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.2074, allocations: 1.799 MB / 434.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2074, allocations: 0 / 434.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.2083, allocations: 0.6736 MB / 435.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2084, allocations: 132.4 kB / 435.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.2085, allocations: 8 kB / 435.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.2089, allocations: 55.91 kB / 435.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.209, allocations: 31.95 kB / 435.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.209, allocations: 8 kB / 435.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003554/0.2094, allocations: 342.9 kB / 436 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2094, allocations: 0 / 436 MB, free: 14.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006673/0.21, allocations: 247.5 kB / 436.2 MB, free: 14.51 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.2102, allocations: 115.5 kB / 436.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.2111, allocations: 0.592 MB / 436.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2111, allocations: 3.938 kB / 436.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.2116, allocations: 327.6 kB / 437.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.2122, allocations: 102.3 kB / 437.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.2143, allocations: 1.798 MB / 439.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2148, allocations: 0.93 MB / 440.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2149, allocations: 51.42 kB / 440.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2149, allocations: 0 / 440.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Templates: time 0.01236/0.2273, allocations: 10.89 MB / 451 MB, free: 15.64 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches