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.001171/0.001171, allocations: 114.2 kB / 16.63 MB, free: 6.941 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.001305/0.001306, allocations: 197.9 kB / 17.55 MB, free: 6.039 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.464/1.464, allocations: 222.9 MB / 241.2 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.00144, allocations: 49.14 kB / 300.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1447, allocations: 49.44 MB / 349.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005331/0.1501, allocations: 2.78 MB / 352.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1518, allocations: 0.6662 MB / 353.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.1522, allocations: 7.938 kB / 353.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1526, allocations: 31.77 kB / 353.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.153, allocations: 71.45 kB / 353.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.1535, allocations: 91.84 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.154, allocations: 346.6 kB / 353.7 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1543, allocations: 88.69 kB / 353.8 MB, free: 316 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1545, allocations: 131.5 kB / 353.9 MB, free: 184 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1547, allocations: 143.4 kB / 354 MB, free: 40 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1548, allocations: 28 kB / 354.1 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.1549, allocations: 28.05 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.155, allocations: 67.64 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1551, allocations: 139.3 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1556, allocations: 311.2 kB / 354.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1556, allocations: 4 kB / 354.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.542e-06/0.1556, allocations: 0 / 354.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1556, allocations: 11.88 kB / 354.6 MB, free: 15.46 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.001605/0.1572, allocations: 0.634 MB / 355.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1573, allocations: 12.03 kB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.698e-05/0.1574, allocations: 50.73 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.1575, allocations: 32.56 kB / 355.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.1579, allocations: 267.8 kB / 355.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1579, allocations: 16.81 kB / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.158, allocations: 16.38 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.1587, allocations: 285.8 kB / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1587, allocations: 0 / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1588, allocations: 12 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1588, allocations: 4 kB / 355.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.1595, allocations: 245.6 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1611, allocations: 0.9023 MB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1627, allocations: 455.3 kB / 357.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.163, allocations: 88.78 kB / 357.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.163, allocations: 0 / 357.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.1636, allocations: 169.8 kB / 357.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.1637, allocations: 0 / 357.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002079/0.1657, allocations: 0.5692 MB / 358.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1659, allocations: 106.8 kB / 358.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.1663, allocations: 274.7 kB / 358.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1663, allocations: 29.7 kB / 358.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1665, allocations: 191.6 kB / 358.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1666, allocations: 31.55 kB / 359 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.1667, allocations: 49.61 kB / 359 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1668, allocations: 342.7 kB / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1672, allocations: 99.92 kB / 359.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1676, allocations: 197.6 kB / 359.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.1683, allocations: 298.8 kB / 359.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1683, allocations: 4 kB / 359.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001201/0.1695, allocations: 423.2 kB / 360.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.1696, allocations: 41.69 kB / 360.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.1697, allocations: 4 kB / 360.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.1701, allocations: 56.89 kB / 360.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1703, allocations: 55.89 kB / 360.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.1727, allocations: 1.609 MB / 362.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.1731, allocations: 51.7 kB / 362.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1732, allocations: 12 kB / 362.2 MB, free: 7.328 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.0002237/0.1734, allocations: 145.8 kB / 362.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.1735, allocations: 27.66 kB / 362.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.1736, allocations: 21.7 kB / 362.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1736, allocations: 4 kB / 362.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1736, allocations: 0 / 362.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1736, allocations: 4.031 kB / 362.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.1752, allocations: 0.6435 MB / 363 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1752, allocations: 0 / 363 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1753, allocations: 27.91 kB / 363 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.1756, allocations: 56.81 kB / 363.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1756, allocations: 4 kB / 363.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1777, allocations: 1.605 MB / 364.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1777, allocations: 0 / 364.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1788, allocations: 391.9 kB / 365.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.179, allocations: 108.8 kB / 365.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.179, allocations: 3.938 kB / 365.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.1793, allocations: 31.97 kB / 365.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.1795, allocations: 23.97 kB / 365.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1795, allocations: 0 / 365.2 MB, free: 4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.1798, allocations: 194 kB / 365.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1798, allocations: 0 / 365.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.1804, allocations: 60 kB / 365.5 MB, free: 3.75 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.0017/0.1821, allocations: 0.9354 MB / 366.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.1833, allocations: 394 kB / 366.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1834, allocations: 3.938 kB / 366.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.1838, allocations: 207.3 kB / 367 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.1843, allocations: 40.7 kB / 367.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2306/0.4149, allocations: 3.068 MB / 370.1 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4152, allocations: 0.7431 MB / 370.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.4154, allocations: 25.75 kB / 370.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4155, allocations: 76.77 kB / 371 MB, free: 23.93 MB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4156, allocations: 0 / 371 MB, free: 23.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4398, allocations: 5.766 MB / 376.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.4401, allocations: 241.7 kB / 377 MB, free: 23.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.643, allocations: 1.188 kB / 377 MB, free: 23.32 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