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.0009632/0.0009632, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 97.5 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.309e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09119, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3727, allocations: 77.76 MB / 465.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.373, allocations: 67.95 kB / 465.3 MB, free: 1.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01214/0.3851, allocations: 4.862 MB / 470.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3852, allocations: 0.75 kB / 470.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3852, allocations: 4 kB / 470.2 MB, free: 12.14 MB / 346.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.00062/0.3858, allocations: 0.5148 MB / 470.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3858, allocations: 8.031 kB / 470.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3859, allocations: 31.62 kB / 470.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3862, allocations: 254.5 kB / 471 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3863, allocations: 8 kB / 471 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.3863, allocations: 19.98 kB / 471 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002775/0.3866, allocations: 165 kB / 471.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3869, allocations: 195.7 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.387, allocations: 3.938 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.387, allocations: 4 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.387, allocations: 8 kB / 471.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3884, allocations: 0.9586 MB / 472.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3887, allocations: 315.9 kB / 472.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.389, allocations: 179.1 kB / 472.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3891, allocations: 4.188 kB / 472.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3891, allocations: 34.75 kB / 472.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.3891, allocations: 0 / 472.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001052/0.3902, allocations: 0.6456 MB / 473.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3902, allocations: 55.41 kB / 473.5 MB, free: 8.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3904, allocations: 158.6 kB / 473.7 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3904, allocations: 29.64 kB / 473.7 MB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.3905, allocations: 172.1 kB / 473.9 MB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.3905, allocations: 90.66 kB / 474 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.3906, allocations: 0 / 474 MB, free: 8.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3907, allocations: 338.8 kB / 474.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.3908, allocations: 60.56 kB / 474.4 MB, free: 7.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3909, allocations: 83.67 kB / 474.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.391, allocations: 67.97 kB / 474.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.391, allocations: 0 / 474.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004157/0.3914, allocations: 278 kB / 474.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3914, allocations: 8 kB / 474.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3914, allocations: 0 / 474.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.3917, allocations: 72.81 kB / 474.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3918, allocations: 51.91 kB / 474.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.3934, allocations: 1.806 MB / 476.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3935, allocations: 4.031 kB / 476.7 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.3935, allocations: 8 kB / 476.7 MB, free: 5.117 MB / 346.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 () * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.3936, allocations: 108.9 kB / 476.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3937, allocations: 19.88 kB / 476.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3937, allocations: 33.89 kB / 476.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3937, allocations: 4 kB / 476.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3937, allocations: 0 / 476.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3937, allocations: 0 / 476.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.3946, allocations: 0.6711 MB / 477.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3946, allocations: 0 / 477.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.3948, allocations: 39.92 kB / 477.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.3949, allocations: 64.81 kB / 477.7 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.395, allocations: 11.98 kB / 477.7 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3963, allocations: 1.709 MB / 479.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3964, allocations: 0 / 479.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.3968, allocations: 412.8 kB / 479.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3969, allocations: 97.16 kB / 479.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3969, allocations: 7.938 kB / 479.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3971, allocations: 11.98 kB / 479.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3972, allocations: 23.91 kB / 479.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3972, allocations: 8 kB / 479.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.3973, allocations: 128.6 kB / 480.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3973, allocations: 3.938 kB / 480.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.3977, allocations: 72 kB / 480.1 MB, free: 1.5 MB / 346.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 () * 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 0.0001455/0.3978, allocations: 107.2 kB / 480.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.3983, allocations: 321.9 kB / 480.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3983, allocations: 0 / 480.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.3987, allocations: 245.5 kB / 480.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3989, allocations: 28.08 kB / 480.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009213/0.3999, allocations: 0.6041 MB / 481.4 MB, free: 160 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4002, allocations: 0.7756 MB / 482.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.4002, allocations: 18.06 kB / 482.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.4003, allocations: 19.44 kB / 482.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4003, allocations: 0 / 482.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005266/0.4056, allocations: 2.596 MB / 484.8 MB, free: 12.73 MB / 362.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/jenkins/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