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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009936/0.0009936, allocations: 178.1 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007838/0.0007838, allocations: 88.2 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 11.94 kB / 351.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1979, allocations: 50.41 MB / 402.2 MB, free: 32.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002052/0.2, allocations: 2.371 MB / 404.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.2008, allocations: 0.5901 MB / 405.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2009, allocations: 6 kB / 405.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.201, allocations: 35.69 kB / 405.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.2012, allocations: 71.89 kB / 405.3 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2013, allocations: 57.05 kB / 405.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.2016, allocations: 323 kB / 405.6 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2018, allocations: 109.8 kB / 405.8 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.2019, allocations: 103.6 kB / 405.9 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.202, allocations: 131.5 kB / 406 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.202, allocations: 17.22 kB / 406 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.2021, allocations: 16 kB / 406 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.2021, allocations: 51.77 kB / 406.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.2022, allocations: 74.48 kB / 406.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2024, allocations: 256.8 kB / 406.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2024, allocations: 4 kB / 406.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2024, allocations: 4 kB / 406.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2024, allocations: 3.938 kB / 406.4 MB, free: 28.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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006697/0.2031, allocations: 0.5457 MB / 407 MB, free: 27.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2031, allocations: 8.031 kB / 407 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.2032, allocations: 35.58 kB / 407 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2034, allocations: 254.4 kB / 407.2 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2035, allocations: 20.56 kB / 407.3 MB, free: 27.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2035, allocations: 35.94 kB / 407.3 MB, free: 27.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.2039, allocations: 248.8 kB / 407.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2039, allocations: 0 / 407.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.204, allocations: 12 kB / 407.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.204, allocations: 11.95 kB / 407.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2043, allocations: 190.2 kB / 407.7 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2055, allocations: 1.014 MB / 408.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2058, allocations: 329.4 kB / 409.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.206, allocations: 149.2 kB / 409.2 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2061, allocations: 8.141 kB / 409.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2061, allocations: 38.75 kB / 409.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.846e-06/0.2061, allocations: 3.984 kB / 409.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001217/0.2073, allocations: 0.78 MB / 410.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2074, allocations: 55.41 kB / 410.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2075, allocations: 190.3 kB / 410.3 MB, free: 24.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2075, allocations: 29.7 kB / 410.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2076, allocations: 180.1 kB / 410.5 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2076, allocations: 94.64 kB / 410.6 MB, free: 23.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.2077, allocations: 4 kB / 410.6 MB, free: 23.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.2077, allocations: 342.8 kB / 410.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2078, allocations: 72.53 kB / 411 MB, free: 23.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.208, allocations: 103.6 kB / 411.1 MB, free: 23.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.2081, allocations: 88.52 kB / 411.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2081, allocations: 0 / 411.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004288/0.2085, allocations: 318.1 kB / 411.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2086, allocations: 12.03 kB / 411.5 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2086, allocations: 0 / 411.5 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.2088, allocations: 80.81 kB / 411.6 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.209, allocations: 55.91 kB / 411.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.2106, allocations: 1.901 MB / 413.6 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2108, allocations: 15.95 kB / 413.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2108, allocations: 4 kB / 413.6 MB, free: 20.68 MB / 298.7 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 (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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.2109, allocations: 137.8 kB / 413.7 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2109, allocations: 19.81 kB / 413.7 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.211, allocations: 29.86 kB / 413.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.211, allocations: 4.016 kB / 413.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.211, allocations: 8 kB / 413.8 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.211, allocations: 0 / 413.8 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008282/0.2118, allocations: 0.7464 MB / 414.5 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2119, allocations: 0 / 414.5 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.212, allocations: 43.92 kB / 414.6 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.2122, allocations: 64.8 kB / 414.6 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2122, allocations: 8 kB / 414.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.2133, allocations: 1.788 MB / 416.4 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2133, allocations: 208 / 416.4 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.2138, allocations: 488.1 kB / 416.9 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2139, allocations: 92.83 kB / 417 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2139, allocations: 4.062 kB / 417 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2141, allocations: 19.98 kB / 417 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.2141, allocations: 19.97 kB / 417 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2141, allocations: 4 kB / 417 MB, free: 16.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.2142, allocations: 145.5 kB / 417.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2142, allocations: 8 kB / 417.2 MB, free: 16.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000344/0.2146, allocations: 72 kB / 417.2 MB, free: 16.76 MB / 298.7 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 (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 9.706e-05/0.2147, allocations: 107.2 kB / 417.4 MB, free: 16.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.2152, allocations: 370.4 kB / 417.7 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2152, allocations: 0 / 417.7 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.2156, allocations: 250.6 kB / 418 MB, free: 16.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2159, allocations: 47.08 kB / 418 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.2169, allocations: 0.9798 MB / 419 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.2171, allocations: 0.7675 MB / 419.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.2171, allocations: 19.44 kB / 419.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2171, allocations: 0 / 419.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Templates: time 0.004613/0.2218, allocations: 3.976 MB / 423.7 MB, free: 10.18 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches