Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110.1 kB / 17.16 MB, free: 6.082 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.002031/0.002032, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.27/2.27, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 44.95 kB / 300.6 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1614, allocations: 49.45 MB / 350.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01044/0.1719, allocations: 5.757 MB / 355.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.1762, allocations: 1.157 MB / 357 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.1782, allocations: 16 kB / 357 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1794, allocations: 131 kB / 357.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.1822, allocations: 238.1 kB / 357.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1837, allocations: 187.8 kB / 357.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.1865, allocations: 1.017 MB / 358.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.1881, allocations: 460.5 kB / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1891, allocations: 386.6 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.1903, allocations: 461.9 kB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004188/0.1908, allocations: 72 kB / 359.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.1913, allocations: 72 kB / 360 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.1916, allocations: 199.2 kB / 360.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1927, allocations: 485.7 kB / 360.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.1941, allocations: 0.8223 MB / 361.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.1941, allocations: 0 / 361.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1941, allocations: 11.94 kB / 361.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.73e-05/0.1942, allocations: 0 / 361.5 MB, free: 9.145 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004204/0.1984, allocations: 1.228 MB / 362.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.1985, allocations: 8.031 kB / 362.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/0.199, allocations: 111.7 kB / 362.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.2003, allocations: 451.2 kB / 363.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2004, allocations: 70.38 kB / 363.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.2006, allocations: 92.28 kB / 363.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.2036, allocations: 0.8717 MB / 364.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.2037, allocations: 7.938 kB / 364.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.2038, allocations: 40 kB / 364.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.2039, allocations: 31.94 kB / 364.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.2059, allocations: 0.57 MB / 364.9 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00764/0.2136, allocations: 2.956 MB / 367.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.2143, allocations: 290.4 kB / 368.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.2149, allocations: 276.7 kB / 368.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2149, allocations: 7.984 kB / 368.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.215, allocations: 38.56 kB / 368.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.215, allocations: 0 / 368.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002315/0.2173, allocations: 0.6548 MB / 369.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2174, allocations: 55.41 kB / 369.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2185, allocations: 0.5102 MB / 369.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.2186, allocations: 41.7 kB / 369.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.2191, allocations: 485.5 kB / 370.2 MB, free: 76 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.3397/0.5588, allocations: 152.6 kB / 370.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.5594, allocations: 135 kB / 370.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.5596, allocations: 364.9 kB / 370.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.5604, allocations: 171 kB / 371 MB, free: 24.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.5614, allocations: 450.8 kB / 371.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.563, allocations: 0.6503 MB / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.563, allocations: 2.844 kB / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002783/0.5658, allocations: 0.7579 MB / 372.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.5659, allocations: 9.922 kB / 372.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/0.5659, allocations: 9.625 kB / 372.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.5665, allocations: 86.98 kB / 373 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.5677, allocations: 196.6 kB / 373.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.5707, allocations: 1.809 MB / 375 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5717, allocations: 88.92 kB / 375.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5719, allocations: 33.2 kB / 375.1 MB, free: 22.28 MB / 302.1 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 (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 prepare postOptimizeDAE: time 0.0005694/0.5725, allocations: 218.9 kB / 375.3 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.5727, allocations: 61.69 kB / 375.4 MB, free: 22.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.5729, allocations: 63.39 kB / 375.4 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.573, allocations: 3.531 kB / 375.4 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.573, allocations: 1.656 kB / 375.4 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.573, allocations: 8.125 kB / 375.5 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.5746, allocations: 0.65 MB / 376.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5746, allocations: 0 / 376.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007294/0.5753, allocations: 102.1 kB / 376.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.5757, allocations: 67.98 kB / 376.3 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.5758, allocations: 12.33 kB / 376.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.5783, allocations: 1.783 MB / 378.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5784, allocations: 4.672 kB / 378.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.5801, allocations: 0.6525 MB / 378.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.5804, allocations: 143.4 kB / 378.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.5806, allocations: 15.03 kB / 378.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.5814, allocations: 43.59 kB / 378.9 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.5815, allocations: 33.3 kB / 379 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.5816, allocations: 13.16 kB / 379 MB, free: 19.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007531/0.5824, allocations: 351.3 kB / 379.3 MB, free: 19.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5824, allocations: 1.375 kB / 379.3 MB, free: 19.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001637/0.584, allocations: 241 kB / 379.5 MB, free: 19.27 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,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 (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.0002332/0.5843, allocations: 120.7 kB / 379.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.5862, allocations: 0.5899 MB / 380.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5862, allocations: 3.938 kB / 380.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.587, allocations: 317 kB / 380.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5883, allocations: 115.4 kB / 380.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.593, allocations: 1.802 MB / 382.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.5937, allocations: 0.9325 MB / 383.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.594, allocations: 43.62 kB / 383.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.594, allocations: 0 / 383.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of Templates: time 0.03096/0.625, allocations: 10.98 MB / 394.4 MB, free: 12.59 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches