Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007877, allocations: 93.73 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.593e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09803, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3175/0.4155, allocations: 80.75 MB / 475.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4158, allocations: 83.66 kB / 476 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.4304, allocations: 5.751 MB / 481.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4304, allocations: 0 / 481.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.4305, allocations: 8 kB / 481.8 MB, free: 7.508 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007586/0.4312, allocations: 0.5604 MB / 482.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4313, allocations: 8.031 kB / 482.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.4314, allocations: 27.72 kB / 482.4 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4317, allocations: 271.5 kB / 482.6 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4317, allocations: 11.61 kB / 482.6 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4317, allocations: 12 kB / 482.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002453/0.432, allocations: 139.9 kB / 482.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.4323, allocations: 196.3 kB / 483 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4323, allocations: 5.953 kB / 483 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.4323, allocations: 0 / 483 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4323, allocations: 4 kB / 483 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.4337, allocations: 0.9409 MB / 483.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.4346, allocations: 357.5 kB / 484.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.4347, allocations: 49.16 kB / 484.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4348, allocations: 7.953 kB / 484.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.4349, allocations: 124.6 kB / 484.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.435, allocations: 0 / 484.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005075/0.4355, allocations: 187.8 kB / 484.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4355, allocations: 110 kB / 484.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.4357, allocations: 214.2 kB / 485 MB, free: 4.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4357, allocations: 29.7 kB / 485 MB, free: 4.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.4358, allocations: 193.7 kB / 485.2 MB, free: 4.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.4358, allocations: 26.33 kB / 485.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.4358, allocations: 0 / 485.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4359, allocations: 332.6 kB / 485.5 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.436, allocations: 43.94 kB / 485.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4361, allocations: 155.5 kB / 485.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.641e-05/0.4362, allocations: 50.33 kB / 485.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4362, allocations: 11.94 kB / 485.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005301/0.4367, allocations: 284.9 kB / 486.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4368, allocations: 36.52 kB / 486.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4368, allocations: 0 / 486.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.4369, allocations: 31.42 kB / 486.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4371, allocations: 59.98 kB / 486.2 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008475/0.438, allocations: 1.297 MB / 487.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.4383, allocations: 59.81 kB / 487.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4383, allocations: 8 kB / 487.6 MB, free: 1.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.4384, allocations: 120.1 kB / 487.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.4384, allocations: 27.73 kB / 487.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.4385, allocations: 20.53 kB / 487.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4385, allocations: 48 / 487.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4385, allocations: 3.984 kB / 487.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4385, allocations: 7.984 kB / 487.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.4391, allocations: 0.5067 MB / 488.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4391, allocations: 7.984 kB / 488.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4393, allocations: 23.98 kB / 488.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/0.4393, allocations: 31.47 kB / 488.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4394, allocations: 3.125 kB / 488.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008319/0.4402, allocations: 1.287 MB / 489.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4402, allocations: 0 / 489.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.4407, allocations: 292.1 kB / 489.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.4408, allocations: 103.9 kB / 490 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4408, allocations: 4 kB / 490 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.4411, allocations: 39.95 kB / 490 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.4412, allocations: 15.48 kB / 490 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4412, allocations: 7.938 kB / 490 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.4414, allocations: 175.4 kB / 490.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4414, allocations: 0 / 490.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000363/0.4417, allocations: 63.83 kB / 490.3 MB, free: 15.18 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.4419, allocations: 95.25 kB / 490.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.4423, allocations: 281.7 kB / 490.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4423, allocations: 4.188 kB / 490.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.4425, allocations: 158.7 kB / 490.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4428, allocations: 33.52 kB / 490.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.4434, allocations: 256.2 kB / 491.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4437, allocations: 0.7482 MB / 491.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.4438, allocations: 30.05 kB / 491.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4439, allocations: 19.44 kB / 491.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4439, allocations: 4 kB / 491.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005948/0.4498, allocations: 2.732 MB / 494.6 MB, free: 10.95 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches