Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 181.1 kB / 16.39 MB, free: 5.762 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.351/1.351, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009205/0.0009205, allocations: 100.6 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 11.92 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09961/0.4038, allocations: 81.71 MB / 483.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4041, allocations: 79.95 kB / 483.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.4229, allocations: 6.993 MB / 490.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4229, allocations: 4 kB / 490.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.423, allocations: 8 kB / 490.3 MB, free: 7.664 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001178/0.4241, allocations: 0.6531 MB / 491 MB, free: 6.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4242, allocations: 12.03 kB / 491 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.4243, allocations: 35.53 kB / 491 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.4247, allocations: 314 kB / 491.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.4247, allocations: 16.56 kB / 491.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.4248, allocations: 28 kB / 491.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.4256, allocations: 364 kB / 491.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4256, allocations: 3.953 kB / 491.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.4256, allocations: 12 kB / 491.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4256, allocations: 11.94 kB / 491.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.4265, allocations: 330 kB / 492.1 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.4287, allocations: 1.312 MB / 493.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.4295, allocations: 367.1 kB / 493.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.4296, allocations: 7.984 kB / 493.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.4301, allocations: 216.6 kB / 493.9 MB, free: 3.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.535e-06/0.4302, allocations: 0 / 493.9 MB, free: 3.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002123/0.4323, allocations: 0.7097 MB / 494.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.4324, allocations: 106.8 kB / 494.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4327, allocations: 262.4 kB / 495 MB, free: 2.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.4327, allocations: 29.7 kB / 495 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4329, allocations: 207.9 kB / 495.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.4329, allocations: 55.25 kB / 495.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.4329, allocations: 4 kB / 495.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4331, allocations: 346.8 kB / 495.6 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.4335, allocations: 128.2 kB / 495.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.4339, allocations: 235.1 kB / 496 MB, free: 1.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.4343, allocations: 166.6 kB / 496.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4343, allocations: 4 kB / 496.2 MB, free: 1.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001215/0.4355, allocations: 0.5233 MB / 496.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.4356, allocations: 37.7 kB / 496.7 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4356, allocations: 4 kB / 496.7 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.436, allocations: 76.81 kB / 496.8 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4363, allocations: 67.89 kB / 496.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.4388, allocations: 1.775 MB / 498.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.4392, allocations: 63.75 kB / 498.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4393, allocations: 19.92 kB / 498.7 MB, free: 14.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.4395, allocations: 153.8 kB / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.4396, allocations: 31.62 kB / 498.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.4396, allocations: 34.16 kB / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4396, allocations: 4 kB / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.4396, allocations: 0 / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4396, allocations: 0 / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4411, allocations: 0.8277 MB / 499.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4412, allocations: 0 / 499.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.4414, allocations: 59.89 kB / 499.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.4416, allocations: 64.86 kB / 499.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4417, allocations: 3.984 kB / 499.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.4435, allocations: 1.573 MB / 0.4897 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4435, allocations: 0 / 0.4897 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.445, allocations: 0.6373 MB / 0.4903 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4451, allocations: 108.8 kB / 0.4904 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.4451, allocations: 8 kB / 0.4905 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4455, allocations: 48.02 kB / 0.4905 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.4455, allocations: 19.97 kB / 0.4905 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4456, allocations: 7.953 kB / 0.4905 GB, free: 10.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4458, allocations: 206 kB / 0.4907 GB, free: 10.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4458, allocations: 0 / 0.4907 GB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.4463, allocations: 87.84 kB / 0.4908 GB, free: 10.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.4465, allocations: 107.8 kB / 0.4909 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4478, allocations: 0.5446 MB / 0.4914 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4478, allocations: 0.5625 kB / 0.4914 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.4483, allocations: 258.5 kB / 0.4917 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4486, allocations: 55.64 kB / 0.4917 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.4506, allocations: 0.8817 MB / 0.4926 GB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.451, allocations: 0.7719 MB / 0.4934 GB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.4511, allocations: 26.97 kB / 0.4934 GB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.4512, allocations: 23.44 kB / 0.4934 GB, free: 7.855 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4512, allocations: 0 / 0.4934 GB, free: 7.855 MB / 378.7 MB Notification: Performance of Templates: time 0.007204/0.4584, allocations: 3.68 MB / 0.497 GB, free: 4.219 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches