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.001126/0.001126, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.492/1.492, allocations: 223.3 MB / 241.4 MB, free: 9.965 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.0008411/0.0008413, allocations: 96.86 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09805/0.3549, allocations: 78.53 MB / 481.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.3551, allocations: 72.52 kB / 481.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.3674, allocations: 4.896 MB / 486.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.002e-06/0.3674, allocations: 8 kB / 486.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3675, allocations: 7.938 kB / 486.3 MB, free: 12.78 MB / 362.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.0008349/0.3683, allocations: 0.5423 MB / 486.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3684, allocations: 12.03 kB / 486.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.3684, allocations: 32.56 kB / 486.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3688, allocations: 251.7 kB / 487.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3688, allocations: 20.94 kB / 487.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.3689, allocations: 32.38 kB / 487.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3694, allocations: 249.4 kB / 487.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3694, allocations: 4.172 kB / 487.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3694, allocations: 15.94 kB / 487.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3695, allocations: 11.94 kB / 487.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.3698, allocations: 186.2 kB / 487.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3713, allocations: 1.021 MB / 488.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.3717, allocations: 328.9 kB / 488.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.3721, allocations: 192.7 kB / 489.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3721, allocations: 4 kB / 489.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3721, allocations: 38.56 kB / 489.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.3721, allocations: 0 / 489.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001547/0.3737, allocations: 0.7853 MB / 490 MB, free: 8.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3738, allocations: 51.41 kB / 490 MB, free: 8.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.374, allocations: 190.4 kB / 490.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.374, allocations: 25.7 kB / 490.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.3741, allocations: 176.2 kB / 490.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.3742, allocations: 90.66 kB / 490.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.3742, allocations: 12 kB / 490.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3743, allocations: 334.8 kB / 490.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3745, allocations: 72.53 kB / 490.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3746, allocations: 103.5 kB / 491 MB, free: 7.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3749, allocations: 182.2 kB / 491.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3749, allocations: 3.938 kB / 491.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004916/0.3754, allocations: 314.1 kB / 491.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3755, allocations: 6.656 kB / 491.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3755, allocations: 8.031 kB / 491.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.3757, allocations: 84.75 kB / 491.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.3759, allocations: 47.92 kB / 491.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.3779, allocations: 1.897 MB / 493.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3781, allocations: 12.02 kB / 493.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3781, allocations: 12 kB / 493.5 MB, free: 5.012 MB / 362.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.000168/0.3783, allocations: 141.2 kB / 493.7 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.3783, allocations: 15.81 kB / 493.7 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3784, allocations: 29.86 kB / 493.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3784, allocations: 4 kB / 493.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3784, allocations: 4.062 kB / 493.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3784, allocations: 3.984 kB / 493.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3795, allocations: 0.7549 MB / 494.5 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3795, allocations: 0 / 494.5 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3797, allocations: 35.98 kB / 494.5 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.3799, allocations: 72.7 kB / 494.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3799, allocations: 7.938 kB / 494.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.3817, allocations: 1.792 MB / 496.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3817, allocations: 0 / 496.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.3824, allocations: 472.3 kB / 496.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.3825, allocations: 92.83 kB / 496.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3825, allocations: 12.06 kB / 497 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3827, allocations: 15.98 kB / 497 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.3827, allocations: 19.97 kB / 497 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3827, allocations: 7.938 kB / 497 MB, free: 1.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3829, allocations: 153.5 kB / 497.2 MB, free: 1.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 0 / 497.2 MB, free: 1.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.3834, allocations: 80 kB / 497.2 MB, free: 1.086 MB / 362.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 0.0001602/0.3835, allocations: 107.2 kB / 497.3 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.3843, allocations: 370.4 kB / 497.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3843, allocations: 0 / 497.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.3847, allocations: 262.5 kB / 498 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.3852, allocations: 36.05 kB / 498 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3866, allocations: 0.9562 MB / 498.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.387, allocations: 0.7636 MB / 499.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.648e-05/0.3871, allocations: 22.28 kB / 499.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.3871, allocations: 19.44 kB / 499.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3871, allocations: 0 / 499.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of Templates: time 0.006986/0.3941, allocations: 2.912 MB / 0.4909 GB, free: 11.59 MB / 378.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