Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001549, allocations: 112.4 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 47.36 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005285/0.1485, allocations: 2.772 MB / 352.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.15, allocations: 0.6778 MB / 353 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1502, allocations: 4 kB / 353 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1504, allocations: 35.77 kB / 353 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1506, allocations: 75.39 kB / 353.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1509, allocations: 83.91 kB / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.1513, allocations: 330.6 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.1515, allocations: 73 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1517, allocations: 123.5 kB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1519, allocations: 135.4 kB / 353.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1519, allocations: 20 kB / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.152, allocations: 16 kB / 353.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1521, allocations: 55.7 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1522, allocations: 135.2 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1527, allocations: 307.2 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1527, allocations: 3.938 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1527, allocations: 0 / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1527, allocations: 0 / 354.3 MB, free: 15.88 MB / 302.1 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.001554/0.1543, allocations: 0.6341 MB / 355 MB, free: 15.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.378e-05/0.1543, allocations: 16.03 kB / 355 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.644e-05/0.1544, allocations: 50.73 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.1545, allocations: 32.56 kB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.1549, allocations: 267.7 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.155, allocations: 16.81 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.155, allocations: 16.38 kB / 355.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.1557, allocations: 285.8 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1557, allocations: 0 / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.1558, allocations: 12 kB / 355.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1558, allocations: 4 kB / 355.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.1566, allocations: 245.6 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1583, allocations: 0.9062 MB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.1599, allocations: 439.4 kB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1603, allocations: 96.78 kB / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1603, allocations: 0 / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.1609, allocations: 169.8 kB / 357.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1609, allocations: 0 / 357.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002109/0.163, allocations: 0.5692 MB / 358.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.1631, allocations: 106.8 kB / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1635, allocations: 270.7 kB / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1635, allocations: 29.7 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1637, allocations: 195.9 kB / 358.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1638, allocations: 35.48 kB / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1639, allocations: 49.61 kB / 358.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1641, allocations: 338.8 kB / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.1644, allocations: 95.86 kB / 359.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.1648, allocations: 197.7 kB / 359.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.1656, allocations: 303.3 kB / 359.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1656, allocations: 0 / 359.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001165/0.1668, allocations: 419.9 kB / 360.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.1668, allocations: 41.69 kB / 360.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1669, allocations: 7.984 kB / 360.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.1672, allocations: 60.88 kB / 360.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1674, allocations: 51.91 kB / 360.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.1697, allocations: 1.491 MB / 361.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.1701, allocations: 55.8 kB / 361.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1702, allocations: 8 kB / 361.8 MB, free: 7.875 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.1704, allocations: 141.7 kB / 361.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1704, allocations: 27.72 kB / 361.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.1705, allocations: 25.64 kB / 362 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1705, allocations: 4 kB / 362 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1705, allocations: 0 / 362 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1705, allocations: 0 / 362 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.1718, allocations: 0.6474 MB / 362.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1719, allocations: 0 / 362.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.172, allocations: 23.97 kB / 362.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.1722, allocations: 60.81 kB / 362.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1723, allocations: 0 / 362.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.1742, allocations: 1.491 MB / 364.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1742, allocations: 7.875 kB / 364.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1752, allocations: 396 kB / 364.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.1753, allocations: 96.86 kB / 364.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1754, allocations: 7.938 kB / 364.7 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.1756, allocations: 31.95 kB / 364.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.1757, allocations: 15.98 kB / 364.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1758, allocations: 7.984 kB / 364.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.1761, allocations: 194 kB / 364.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1761, allocations: 0 / 364.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.1765, allocations: 59.91 kB / 365 MB, free: 4.418 MB / 302.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.178, allocations: 0.9343 MB / 365.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009792/0.179, allocations: 386 kB / 366.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.179, allocations: 4 kB / 366.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.1794, allocations: 203.2 kB / 366.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1798, allocations: 51.59 kB / 366.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.4089, allocations: 3.081 MB / 369.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4093, allocations: 0.7412 MB / 370.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.4095, allocations: 25.78 kB / 370.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4096, allocations: 71.52 kB / 370.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4097, allocations: 1.812 kB / 370.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.4338, allocations: 5.526 MB / 376 MB, free: 23.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.434, allocations: 249.1 kB / 376.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.69, allocations: 0 / 376.2 MB, free: 23.62 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:Ri,Rl,Vin,Vns,Vps,f,ground.p.i,ground.p.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,ri.LossPower,ri.R,ri.R_actual,ri.T,ri.T_heatPort,ri.T_ref,ri.alpha,ri.i,ri.n.i,ri.n.v,ri.p.i,ri.p.v,ri.useHeatPort,ri.v,rl.LossPower,rl.R,rl.R_actual,rl.T,rl.T_heatPort,rl.T_ref,rl.alpha,rl.i,rl.n.i,rl.n.v,rl.p.i,rl.p.v,rl.useHeatPort,rl.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v