Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 172.4 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.425/1.425, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009007/0.0009007, allocations: 82.72 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.195e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08807, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3202/0.4083, allocations: 79.02 MB / 449 MB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4085, allocations: 78.2 kB / 449.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.4244, allocations: 5.642 MB / 454.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4245, allocations: 4.219 kB / 454.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.4245, allocations: 4 kB / 454.8 MB, free: 9.355 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008943/0.4254, allocations: 0.5688 MB / 455.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4254, allocations: 12.03 kB / 455.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.4255, allocations: 31.66 kB / 455.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4259, allocations: 260 kB / 455.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4259, allocations: 23.39 kB / 455.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4259, allocations: 18.62 kB / 455.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.4263, allocations: 190.4 kB / 455.9 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4263, allocations: 0 / 455.9 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.4264, allocations: 16.38 kB / 455.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4264, allocations: 4 kB / 455.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.4267, allocations: 165.6 kB / 456 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.4282, allocations: 0.8962 MB / 456.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4284, allocations: 188.5 kB / 457.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.4285, allocations: 47.61 kB / 457.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4286, allocations: 7.953 kB / 457.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.4288, allocations: 131.9 kB / 457.3 MB, free: 7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.4288, allocations: 0 / 457.3 MB, free: 7 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004368/0.4292, allocations: 183.1 kB / 457.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4293, allocations: 106.8 kB / 457.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.4295, allocations: 246.3 kB / 457.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.4296, allocations: 25.7 kB / 457.9 MB, free: 6.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.4297, allocations: 188.2 kB / 458 MB, free: 6.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4297, allocations: 30.98 kB / 458.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.4297, allocations: 7.562 kB / 458.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.4298, allocations: 329.3 kB / 458.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.4299, allocations: 53.98 kB / 458.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.4301, allocations: 150.5 kB / 458.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4302, allocations: 91.66 kB / 458.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4302, allocations: 4 kB / 458.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005149/0.4307, allocations: 316.3 kB / 459 MB, free: 5.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.4311, allocations: 1.159 MB / 460.2 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4312, allocations: 8 kB / 460.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.4313, allocations: 38.7 kB / 460.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4316, allocations: 63.33 kB / 460.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/0.4319, allocations: 0.556 MB / 460.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.4323, allocations: 55.03 kB / 460.9 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4323, allocations: 11.98 kB / 460.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.4323, allocations: 4 kB / 460.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003455/0.4327, allocations: 229.8 kB / 461.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4327, allocations: 7.953 kB / 461.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.689e-05/0.4327, allocations: 27.91 kB / 461.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.433, allocations: 63.39 kB / 461.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009052/0.4339, allocations: 1.377 MB / 462.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4342, allocations: 47.81 kB / 462.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4342, allocations: 8 kB / 462.7 MB, free: 1.613 MB / 330.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 (23): * Single equations (assignments): 21 * 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.0001026/0.4343, allocations: 129.3 kB / 462.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.4344, allocations: 31.94 kB / 462.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.4344, allocations: 25.83 kB / 462.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4344, allocations: 0 / 462.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4344, allocations: 0 / 462.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4344, allocations: 3.984 kB / 462.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.4351, allocations: 0.544 MB / 463.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4351, allocations: 0 / 463.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.4353, allocations: 27.97 kB / 463.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.207e-05/0.4354, allocations: 32.78 kB / 463.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4354, allocations: 8 kB / 463.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.4364, allocations: 1.351 MB / 464.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4364, allocations: 7.891 kB / 464.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.4368, allocations: 284.1 kB / 465.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.4369, allocations: 100.8 kB / 465.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.4369, allocations: 7.953 kB / 465.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.4372, allocations: 43.95 kB / 465.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.4373, allocations: 20.11 kB / 465.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4373, allocations: 4 kB / 465.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4375, allocations: 187.1 kB / 465.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4375, allocations: 0 / 465.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004796/0.438, allocations: 119.7 kB / 465.6 MB, free: 14.46 MB / 346.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4381, allocations: 115.2 kB / 465.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.4388, allocations: 455.7 kB / 466.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4388, allocations: 0 / 466.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.439, allocations: 182.8 kB / 466.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4393, allocations: 37.03 kB / 466.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.4399, allocations: 264.8 kB / 466.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.4401, allocations: 0.7531 MB / 467.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.4403, allocations: 38.05 kB / 467.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.4404, allocations: 15.44 kB / 467.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4404, allocations: 0 / 467.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of Templates: time 0.006394/0.4468, allocations: 3.503 MB / 470.9 MB, free: 9.02 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches