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.001273/0.001273, allocations: 109.5 kB / 17.06 MB, free: 6.012 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.001244/0.001244, allocations: 191 kB / 18 MB, free: 5.094 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.476/1.476, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009923/0.0009923, allocations: 51.92 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3839, allocations: 49.42 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004219/0.3882, allocations: 2.814 MB / 403.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3894, allocations: 0.6193 MB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3895, allocations: 4 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3897, allocations: 51.5 kB / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.39, allocations: 91.2 kB / 404.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.3902, allocations: 79.88 kB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3906, allocations: 346.9 kB / 404.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3909, allocations: 135.4 kB / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3911, allocations: 131.5 kB / 405 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3913, allocations: 155.4 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.3914, allocations: 32 kB / 405.2 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.3914, allocations: 32 kB / 405.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3915, allocations: 67.7 kB / 405.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3917, allocations: 159.3 kB / 405.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.3922, allocations: 359.9 kB / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3922, allocations: 0 / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3922, allocations: 0 / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3922, allocations: 0 / 405.8 MB, free: 3.793 MB / 318.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.001051/0.3933, allocations: 0.5965 MB / 406.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3933, allocations: 8.031 kB / 406.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.3934, allocations: 36.56 kB / 406.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3938, allocations: 259.7 kB / 406.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3938, allocations: 24.94 kB / 406.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.3939, allocations: 32.31 kB / 406.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.3944, allocations: 249.2 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3944, allocations: 0 / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.3944, allocations: 15.98 kB / 407 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3944, allocations: 8 kB / 407 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.3948, allocations: 186.1 kB / 407.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.3964, allocations: 1.002 MB / 408.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.3969, allocations: 324.9 kB / 408.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.3971, allocations: 156.7 kB / 408.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3972, allocations: 0 / 408.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3972, allocations: 42.56 kB / 408.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.3972, allocations: 0 / 408.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001466/0.3987, allocations: 0.7749 MB / 409.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3987, allocations: 59.34 kB / 409.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3989, allocations: 194.2 kB / 409.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3989, allocations: 33.64 kB / 409.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3991, allocations: 172.2 kB / 409.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.3991, allocations: 90.66 kB / 410 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.3992, allocations: 45.98 kB / 410 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3994, allocations: 338.8 kB / 410.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.3995, allocations: 72.53 kB / 410.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3997, allocations: 103.6 kB / 410.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3999, allocations: 186.4 kB / 410.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4, allocations: 0 / 410.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004983/0.4005, allocations: 314.1 kB / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4005, allocations: 8 kB / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4005, allocations: 0 / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/0.4008, allocations: 80.81 kB / 411.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.401, allocations: 51.94 kB / 411.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.4031, allocations: 2.096 MB / 413.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4032, allocations: 15.92 kB / 413.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.4033, allocations: 8 kB / 413.3 MB, free: 11.78 MB / 334.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.0001518/0.4034, allocations: 142.1 kB / 413.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.4035, allocations: 19.72 kB / 413.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.4035, allocations: 25.97 kB / 413.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.4035, allocations: 11.92 kB / 413.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4036, allocations: 0 / 413.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4036, allocations: 3.938 kB / 413.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4046, allocations: 0.7448 MB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4046, allocations: 0 / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.4048, allocations: 35.92 kB / 414.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.405, allocations: 68.8 kB / 414.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.405, allocations: 8 kB / 414.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.4068, allocations: 1.991 MB / 416.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4068, allocations: 3.984 kB / 416.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.4074, allocations: 459.9 kB / 416.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.4075, allocations: 100.8 kB / 416.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4075, allocations: 4.344 kB / 416.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4077, allocations: 15.98 kB / 416.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4078, allocations: 11.98 kB / 416.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4078, allocations: 16.05 kB / 416.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4079, allocations: 140.3 kB / 417.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4079, allocations: 0 / 417.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.4083, allocations: 84 kB / 417.2 MB, free: 7.668 MB / 334.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.000139/0.4085, allocations: 115.1 kB / 417.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.4091, allocations: 362.6 kB / 417.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4092, allocations: 4 kB / 417.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.4096, allocations: 263 kB / 417.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.4099, allocations: 43.91 kB / 417.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4112, allocations: 0.7621 MB / 418.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4116, allocations: 0.7636 MB / 419.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.4117, allocations: 18.28 kB / 419.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.4117, allocations: 19.44 kB / 419.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4118, allocations: 0 / 419.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Templates: time 0.00774/0.4195, allocations: 3.246 MB / 422.7 MB, free: 2.027 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/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