Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 103.4 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 11.98 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4086, allocations: 82.45 MB / 491.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4089, allocations: 97.5 kB / 491.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01983/0.4287, allocations: 6.993 MB / 498.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4288, allocations: 0 / 498.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.4288, allocations: 11.98 kB / 498.9 MB, free: 1.945 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.001472/0.4303, allocations: 0.6533 MB / 499.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.4304, allocations: 16.03 kB / 499.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4306, allocations: 36.47 kB / 499.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.4311, allocations: 319.2 kB / 499.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.4311, allocations: 20.94 kB / 500 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.4312, allocations: 28.36 kB / 500 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.4321, allocations: 361.3 kB / 0.4886 GB, free: 436 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.4322, allocations: 7.938 kB / 0.4886 GB, free: 428 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.4322, allocations: 8 kB / 0.4886 GB, free: 420 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.4322, allocations: 8 kB / 0.4886 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.4332, allocations: 330 kB / 0.489 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.4358, allocations: 1.325 MB / 0.4903 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.4366, allocations: 258.9 kB / 0.4905 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.4369, allocations: 124.8 kB / 0.4906 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.437, allocations: 4 kB / 0.4906 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.4375, allocations: 205.7 kB / 0.4908 GB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.4375, allocations: 0 / 0.4908 GB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002444/0.44, allocations: 0.7714 MB / 0.4916 GB, free: 13.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.4401, allocations: 110.8 kB / 0.4917 GB, free: 13.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.4405, allocations: 287 kB / 0.492 GB, free: 12.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.4405, allocations: 29.7 kB / 0.492 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4407, allocations: 211.5 kB / 0.4922 GB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.4408, allocations: 55.2 kB / 0.4922 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4408, allocations: 8 kB / 0.4922 GB, free: 12.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.441, allocations: 338.8 kB / 0.4926 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4414, allocations: 127.9 kB / 0.4927 GB, free: 12.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.4418, allocations: 223.9 kB / 0.4929 GB, free: 11.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/0.4426, allocations: 361.9 kB / 0.4932 GB, free: 11.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.4426, allocations: 0 / 0.4932 GB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001367/0.444, allocations: 0.5186 MB / 0.4938 GB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.4441, allocations: 37.62 kB / 0.4938 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4441, allocations: 4 kB / 0.4938 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.4445, allocations: 88.81 kB / 0.4939 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.4448, allocations: 67.89 kB / 0.4939 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.4474, allocations: 1.83 MB / 0.4957 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4479, allocations: 63.72 kB / 0.4958 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.4479, allocations: 19.97 kB / 0.4958 GB, free: 8.613 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 (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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002638/0.4482, allocations: 157.2 kB / 0.496 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.4483, allocations: 23.72 kB / 0.496 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.4483, allocations: 33.86 kB / 0.496 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4484, allocations: 0 / 0.496 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.4484, allocations: 0 / 0.496 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4484, allocations: 4 kB / 0.496 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.4488, allocations: 349.2 kB / 0.4964 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4488, allocations: 0 / 0.4964 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.449, allocations: 35.97 kB / 0.4964 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.4493, allocations: 88.8 kB / 0.4965 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4493, allocations: 0 / 0.4965 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.4516, allocations: 1.706 MB / 0.4981 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.4516, allocations: 7.969 kB / 0.4981 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.4531, allocations: 0.5481 MB / 0.4987 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4533, allocations: 104.8 kB / 0.4988 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.4533, allocations: 4 kB / 0.4988 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.4536, allocations: 39.97 kB / 0.4988 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4537, allocations: 35.89 kB / 0.4989 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4537, allocations: 4 kB / 0.4989 GB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.454, allocations: 206 kB / 0.4991 GB, free: 5.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.454, allocations: 0 / 0.4991 GB, free: 5.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.4545, allocations: 87.75 kB / 0.4991 GB, free: 4.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.4547, allocations: 103.2 kB / 0.4992 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4559, allocations: 469.9 kB / 0.4997 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4559, allocations: 4 kB / 0.4997 GB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.4565, allocations: 259 kB / 0.4999 GB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4569, allocations: 60.73 kB / 0.5 GB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4584, allocations: 0.6902 MB / 0.5007 GB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4588, allocations: 0.768 MB / 0.5014 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.459, allocations: 26.97 kB / 0.5014 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.4591, allocations: 23.44 kB / 0.5015 GB, free: 2.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.4591, allocations: 0 / 0.5015 GB, free: 2.484 MB / 378.7 MB Notification: Performance of Templates: time 0.2242/0.6832, allocations: 3.956 MB / 0.5053 GB, free: 95.48 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches