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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007202/0.0007202, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0007777/0.0007777, allocations: 175.7 kB / 18.21 MB, free: 5.684 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.265/1.265, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002167/0.0002167, allocations: 4 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07351, allocations: 50.42 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002526/0.07607, allocations: 2.471 MB / 355 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.07702, allocations: 0.6116 MB / 355.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.07718, allocations: 12 kB / 355.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.07732, allocations: 39.69 kB / 355.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.07751, allocations: 71.38 kB / 355.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.07769, allocations: 63.94 kB / 355.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.07802, allocations: 334.9 kB / 356.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.07824, allocations: 115.9 kB / 356.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.07837, allocations: 119.5 kB / 356.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.07855, allocations: 127.4 kB / 356.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.07859, allocations: 20 kB / 356.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.92e-05/0.07864, allocations: 16 kB / 356.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.07869, allocations: 51.77 kB / 356.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.07882, allocations: 168.9 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.07904, allocations: 259.5 kB / 356.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.07906, allocations: 4 kB / 356.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07906, allocations: 0 / 356.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.07907, allocations: 0 / 356.9 MB, free: 15.21 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.0007287/0.07981, allocations: 0.5458 MB / 357.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.07985, allocations: 8.031 kB / 357.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.07992, allocations: 36.56 kB / 357.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.08017, allocations: 247.8 kB / 357.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.0802, allocations: 28.94 kB / 357.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.08025, allocations: 24.38 kB / 357.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.08069, allocations: 253.2 kB / 358.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.08071, allocations: 0 / 358.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.08075, allocations: 12 kB / 358.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.08076, allocations: 4 kB / 358.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.08112, allocations: 194.2 kB / 358.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.08257, allocations: 1.025 MB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.08295, allocations: 332.9 kB / 359.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.08319, allocations: 159.5 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.08322, allocations: 4 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.08324, allocations: 30.56 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.08325, allocations: 4 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001362/0.08462, allocations: 0.7857 MB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.08466, allocations: 55.41 kB / 360.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.08483, allocations: 198.2 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.08486, allocations: 29.7 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.08495, allocations: 168.3 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.08502, allocations: 90.66 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.08507, allocations: 25.7 kB / 361.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.08517, allocations: 338.8 kB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.08534, allocations: 76.53 kB / 361.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.08551, allocations: 99.58 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.08581, allocations: 198.1 kB / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.08582, allocations: 0 / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005398/0.08636, allocations: 321.9 kB / 362.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.08639, allocations: 4 kB / 362.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.0864, allocations: 0 / 362.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.08665, allocations: 92.83 kB / 362.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.08685, allocations: 39.98 kB / 362.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.08862, allocations: 1.893 MB / 364.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.08876, allocations: 12.2 kB / 364.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.08878, allocations: 15.94 kB / 364.2 MB, free: 7.434 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.0001186/0.08891, allocations: 141.7 kB / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.08896, allocations: 23.72 kB / 364.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.08902, allocations: 25.97 kB / 364.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.08903, allocations: 7.938 kB / 364.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.08904, allocations: 0 / 364.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.08905, allocations: 7.984 kB / 364.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.09009, allocations: 0.741 MB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.09011, allocations: 0 / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.0903, allocations: 47.91 kB / 365.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.0905, allocations: 72.73 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.09053, allocations: 4 kB / 365.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.09205, allocations: 1.792 MB / 367.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09206, allocations: 0 / 367.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.0927, allocations: 476.1 kB / 367.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.09277, allocations: 96.92 kB / 367.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.0928, allocations: 4.062 kB / 367.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.09298, allocations: 15.98 kB / 367.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.09304, allocations: 23.91 kB / 367.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.09306, allocations: 8 kB / 367.7 MB, free: 3.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.09318, allocations: 140.6 kB / 367.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.09318, allocations: 4 kB / 367.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004156/0.09361, allocations: 80 kB / 367.9 MB, free: 3.504 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.0001045/0.09372, allocations: 119.7 kB / 368 MB, free: 3.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000608/0.09433, allocations: 378.3 kB / 368.4 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.09435, allocations: 0 / 368.4 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.09476, allocations: 254.5 kB / 368.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.09513, allocations: 35.98 kB / 368.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.09633, allocations: 1.009 MB / 369.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.09661, allocations: 0.7675 MB / 370.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.09667, allocations: 15.44 kB / 370.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of SimCode: time 1.423e-06/0.09668, allocations: 4 kB / 370.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of Templates: time 0.1379/0.2346, allocations: 3.967 MB / 374.5 MB, free: 23.75 MB / 302.1 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","/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