Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000828/0.000828, allocations: 90.72 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.663e-05, allocations: 4.219 kB / 350.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09655, allocations: 51.49 MB / 402 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.425, allocations: 81.9 MB / 483.9 MB, free: 7.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4253, allocations: 88.28 kB / 484 MB, free: 7.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.4426, allocations: 6.469 MB / 490.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4426, allocations: 4 kB / 490.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.4426, allocations: 4 kB / 490.5 MB, free: 1.988 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001051/0.4437, allocations: 0.6006 MB / 491.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4437, allocations: 8.031 kB / 491.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4439, allocations: 39.53 kB / 491.1 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.4443, allocations: 291.4 kB / 491.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4443, allocations: 19.81 kB / 491.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.4443, allocations: 23.19 kB / 491.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.4448, allocations: 279.8 kB / 491.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4448, allocations: 0 / 491.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.4449, allocations: 12.22 kB / 491.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4449, allocations: 4 kB / 491.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.4452, allocations: 189.5 kB / 491.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.4471, allocations: 1.186 MB / 493.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.4474, allocations: 151.4 kB / 493.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4475, allocations: 59.86 kB / 493.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4476, allocations: 6.953 kB / 493.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4478, allocations: 133.9 kB / 493.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.4478, allocations: 0 / 493.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006711/0.4485, allocations: 246.1 kB / 493.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.4486, allocations: 110.8 kB / 493.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4489, allocations: 254.1 kB / 494.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.4489, allocations: 25.7 kB / 494.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.4491, allocations: 205.8 kB / 494.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.4491, allocations: 42.33 kB / 494.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.4492, allocations: 7.438 kB / 494.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4493, allocations: 336.1 kB / 494.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4495, allocations: 62.42 kB / 494.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.4497, allocations: 157.3 kB / 494.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4498, allocations: 108.6 kB / 495 MB, free: 13.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4498, allocations: 0 / 495 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007856/0.4506, allocations: 385 kB / 495.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.4507, allocations: 33.7 kB / 495.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4507, allocations: 7.984 kB / 495.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.4509, allocations: 56.86 kB / 495.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4512, allocations: 51.91 kB / 495.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.4533, allocations: 1.744 MB / 497.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.4537, allocations: 71.92 kB / 497.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.4537, allocations: 8 kB / 497.3 MB, free: 11.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.000136/0.4539, allocations: 125.4 kB / 497.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.4539, allocations: 23.72 kB / 497.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.454, allocations: 25.95 kB / 497.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.454, allocations: 4 kB / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.454, allocations: 3.953 kB / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4541, allocations: 0 / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.4544, allocations: 323.8 kB / 497.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4545, allocations: 4 kB / 497.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4546, allocations: 27.97 kB / 497.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.4548, allocations: 55.31 kB / 497.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.4548, allocations: 4 kB / 497.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.4567, allocations: 1.646 MB / 499.6 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4567, allocations: 4.031 kB / 499.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.4573, allocations: 269.6 kB / 499.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/0.4574, allocations: 100.8 kB / 499.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.4575, allocations: 4 kB / 499.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.4577, allocations: 43.97 kB / 500 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.4578, allocations: 15.97 kB / 0.4883 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4578, allocations: 11.98 kB / 0.4883 GB, free: 8.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.458, allocations: 195.1 kB / 0.4885 GB, free: 8.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4581, allocations: 4 kB / 0.4885 GB, free: 8.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.4585, allocations: 87.78 kB / 0.4886 GB, free: 8.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.0002055/0.4587, allocations: 99.75 kB / 0.4887 GB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.4597, allocations: 426 kB / 0.4891 GB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4597, allocations: 0 / 0.4891 GB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.46, allocations: 198.5 kB / 0.4893 GB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4603, allocations: 42.09 kB / 0.4893 GB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4631, allocations: 0.8119 MB / 0.4901 GB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4634, allocations: 0.7638 MB / 0.4908 GB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.4635, allocations: 31.66 kB / 0.4909 GB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.4636, allocations: 19.44 kB / 0.4909 GB, free: 5.777 MB / 362.7 MB Notification: Performance of SimCode: time 2.695e-06/0.4636, allocations: 0.5625 kB / 0.4909 GB, free: 5.777 MB / 362.7 MB Notification: Performance of Templates: time 0.007685/0.4713, allocations: 3.609 MB / 0.4944 GB, free: 2.254 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches