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.00101/0.00101, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001064/0.001064, allocations: 184.3 kB / 17.57 MB, free: 6.199 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.52/1.52, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003113, allocations: 8 kB / 301.6 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 50.41 MB / 352 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003483/0.1201, allocations: 2.413 MB / 354.4 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1217, allocations: 0.674 MB / 355 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.122, allocations: 4 kB / 355 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.1222, allocations: 27.77 kB / 355.1 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1226, allocations: 83.38 kB / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.123, allocations: 83.92 kB / 355.2 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.1235, allocations: 326.6 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1238, allocations: 77 kB / 355.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.124, allocations: 111.5 kB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1243, allocations: 131.4 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.1243, allocations: 16 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.1244, allocations: 16 kB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1245, allocations: 55.7 kB / 356 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1247, allocations: 149 kB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.125, allocations: 291.1 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.125, allocations: 0 / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.125, allocations: 0 / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.125, allocations: 0 / 356.4 MB, free: 15.11 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.001308/0.1264, allocations: 0.6186 MB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1264, allocations: 8.031 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.1265, allocations: 58.72 kB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.1266, allocations: 32.56 kB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.127, allocations: 259.8 kB / 357.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.127, allocations: 16.81 kB / 357.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1271, allocations: 24.36 kB / 357.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.1278, allocations: 293.9 kB / 357.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1278, allocations: 0 / 357.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.1279, allocations: 4 kB / 357.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1279, allocations: 12 kB / 357.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.1287, allocations: 269.6 kB / 358 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1306, allocations: 0.9336 MB / 358.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1322, allocations: 499.4 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1326, allocations: 104.8 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1326, allocations: 0 / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.1331, allocations: 193.1 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.1332, allocations: 3.938 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002272/0.1354, allocations: 0.6512 MB / 360.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.1355, allocations: 106.8 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.1359, allocations: 274.5 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.1359, allocations: 33.7 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1361, allocations: 187.6 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1361, allocations: 27.64 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.1362, allocations: 25.72 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1364, allocations: 338.7 kB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.1367, allocations: 107.9 kB / 361.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.1372, allocations: 213.7 kB / 361.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.138, allocations: 325.4 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.138, allocations: 3.938 kB / 361.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001308/0.1393, allocations: 471.8 kB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.1394, allocations: 33.69 kB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1394, allocations: 4 kB / 362.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/0.1398, allocations: 68.88 kB / 362.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.14, allocations: 55.91 kB / 362.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.1422, allocations: 1.522 MB / 364.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.1427, allocations: 67.8 kB / 364.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1427, allocations: 12 kB / 364.2 MB, free: 6.766 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.0001777/0.1429, allocations: 141.7 kB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1429, allocations: 15.81 kB / 364.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.143, allocations: 33.64 kB / 364.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.143, allocations: 0 / 364.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.143, allocations: 384 / 364.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.143, allocations: 0 / 364.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.1446, allocations: 0.6941 MB / 365 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1446, allocations: 0 / 365 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1447, allocations: 31.97 kB / 365.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.145, allocations: 60.81 kB / 365.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.145, allocations: 4 kB / 365.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.147, allocations: 1.522 MB / 366.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.147, allocations: 3.938 kB / 366.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1482, allocations: 424 kB / 367.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1483, allocations: 108.8 kB / 367.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.1484, allocations: 7.938 kB / 367.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.1487, allocations: 39.95 kB / 367.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.1488, allocations: 15.98 kB / 367.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1488, allocations: 7.984 kB / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.1491, allocations: 190 kB / 367.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1491, allocations: 0 / 367.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.1495, allocations: 63.91 kB / 367.5 MB, free: 3.184 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.001559/0.1511, allocations: 0.9743 MB / 368.5 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1523, allocations: 422.2 kB / 368.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1523, allocations: 0 / 368.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.1528, allocations: 223.2 kB / 369.1 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1533, allocations: 36.55 kB / 369.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.3824, allocations: 3.186 MB / 372.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3828, allocations: 0.7468 MB / 373.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.383, allocations: 24.88 kB / 373.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3832, allocations: 73.48 kB / 373.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3832, allocations: 3.625 kB / 373.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.4178, allocations: 5.436 MB / 378.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.418, allocations: 252.3 kB / 378.8 MB, free: 22.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.686, allocations: 3.875 kB / 378.9 MB, free: 22.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