Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.000827, allocations: 85.92 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.903e-05, allocations: 8 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.473, allocations: 79.29 MB / 449.3 MB, free: 14.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4733, allocations: 80.2 kB / 449.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.4908, allocations: 6.066 MB / 455.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4908, allocations: 0 / 455.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.4908, allocations: 11.94 kB / 455.5 MB, free: 8.785 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001038/0.4919, allocations: 0.5858 MB / 456.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4919, allocations: 8.031 kB / 456.1 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.492, allocations: 31.62 kB / 456.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4924, allocations: 279 kB / 456.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.4925, allocations: 23.83 kB / 456.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.4925, allocations: 19.56 kB / 456.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.4929, allocations: 217 kB / 456.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.493, allocations: 4 kB / 456.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.493, allocations: 7.688 kB / 456.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.493, allocations: 4 kB / 456.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4933, allocations: 182.9 kB / 456.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.495, allocations: 0.9611 MB / 457.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.4954, allocations: 264.5 kB / 458.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4956, allocations: 91.72 kB / 458.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.4957, allocations: 11.86 kB / 458.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.496, allocations: 148 kB / 458.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.496, allocations: 0 / 458.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005499/0.4965, allocations: 227.9 kB / 458.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.4966, allocations: 106.8 kB / 458.6 MB, free: 5.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4969, allocations: 233.1 kB / 458.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.4969, allocations: 33.64 kB / 458.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.497, allocations: 186.2 kB / 459.1 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.4971, allocations: 54.95 kB / 459.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.4971, allocations: 3.812 kB / 459.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4972, allocations: 338.4 kB / 459.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4974, allocations: 56.17 kB / 459.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.4976, allocations: 140.4 kB / 459.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4977, allocations: 97.91 kB / 459.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4977, allocations: 4 kB / 459.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005527/0.4983, allocations: 324.5 kB / 460.1 MB, free: 4.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.4986, allocations: 0.6456 MB / 460.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.4986, allocations: 0 / 460.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.4988, allocations: 36.83 kB / 460.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.4991, allocations: 75.84 kB / 460.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004149/0.4995, allocations: 0.5522 MB / 461.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.4999, allocations: 55.91 kB / 461.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.4999, allocations: 12 kB / 461.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4999, allocations: 4 kB / 461.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003936/0.5003, allocations: 243.2 kB / 461.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.5003, allocations: 3.938 kB / 461.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.34e-05/0.5004, allocations: 28.8 kB / 461.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.5007, allocations: 68.14 kB / 461.8 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.5017, allocations: 1.373 MB / 463.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.502, allocations: 51.78 kB / 463.2 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.502, allocations: 12 kB / 463.2 MB, free: 1.129 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.5022, allocations: 121.2 kB / 463.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.5022, allocations: 27.7 kB / 463.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.5023, allocations: 29.97 kB / 463.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5023, allocations: 0 / 463.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5023, allocations: 3.984 kB / 463.4 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5023, allocations: 3.938 kB / 463.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.5032, allocations: 0.6402 MB / 464 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5032, allocations: 0 / 464 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.5035, allocations: 56 kB / 464.1 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.5036, allocations: 24.84 kB / 464.1 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5036, allocations: 8 kB / 464.1 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.5046, allocations: 1.359 MB / 465.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5047, allocations: 3.953 kB / 465.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.5052, allocations: 421 kB / 465.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.5053, allocations: 104.8 kB / 466 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.5054, allocations: 12.06 kB / 466 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.5057, allocations: 32.11 kB / 466 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.5058, allocations: 27.95 kB / 466.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5058, allocations: 11.98 kB / 466.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001883/0.506, allocations: 187.1 kB / 466.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.506, allocations: 0 / 466.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005309/0.5065, allocations: 139.6 kB / 466.4 MB, free: 13.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.5068, allocations: 112 kB / 466.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.5076, allocations: 0.5002 MB / 467 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5076, allocations: 4.125 kB / 467 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.5079, allocations: 198.5 kB / 467.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.5083, allocations: 46.12 kB / 467.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.509, allocations: 375.1 kB / 467.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.5094, allocations: 0.7648 MB / 468.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.5096, allocations: 34.05 kB / 468.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.5097, allocations: 19.44 kB / 468.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5097, allocations: 0 / 468.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of Templates: time 0.007981/0.5176, allocations: 3.833 MB / 472.3 MB, free: 7.707 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches