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.001169/0.001169, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001081/0.001081, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.359/1.359, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 50.39 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09993, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004849/0.1048, allocations: 2.723 MB / 352.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1062, allocations: 0.6739 MB / 353.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.1064, allocations: 4 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1066, allocations: 47.56 kB / 353.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1069, allocations: 83.27 kB / 353.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1073, allocations: 99.8 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.1077, allocations: 354.6 kB / 354.2 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1079, allocations: 92.55 kB / 354.2 MB, free: 216 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1081, allocations: 119.6 kB / 354.4 MB, free: 96 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1084, allocations: 151.3 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.1085, allocations: 28 kB / 354.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.1085, allocations: 32 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.1086, allocations: 59.7 kB / 354.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.1088, allocations: 151.2 kB / 354.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1091, allocations: 319.2 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1091, allocations: 0 / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1092, allocations: 0 / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1092, allocations: 0 / 355.1 MB, free: 15.37 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.001347/0.1105, allocations: 0.6379 MB / 355.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1106, allocations: 8.031 kB / 355.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.1107, allocations: 54.73 kB / 355.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.1107, allocations: 28.56 kB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1111, allocations: 267.8 kB / 356.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.1112, allocations: 16.81 kB / 356.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1112, allocations: 20.38 kB / 356.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.1119, allocations: 281.8 kB / 356.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1119, allocations: 0 / 356.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.112, allocations: 15.98 kB / 356.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.112, allocations: 4 kB / 356.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.1127, allocations: 245.6 kB / 356.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.1145, allocations: 0.9023 MB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.1161, allocations: 447.4 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.1164, allocations: 92.78 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1164, allocations: 0 / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.117, allocations: 173.8 kB / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.117, allocations: 0 / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002077/0.1191, allocations: 0.5809 MB / 358.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.1192, allocations: 102.8 kB / 358.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.1195, allocations: 270.7 kB / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1195, allocations: 29.7 kB / 359.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1196, allocations: 187.6 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1197, allocations: 39.47 kB / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.1198, allocations: 53.61 kB / 359.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1199, allocations: 334.8 kB / 359.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1203, allocations: 95.92 kB / 359.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.1207, allocations: 197.7 kB / 360.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.1214, allocations: 303.2 kB / 360.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1214, allocations: 4 kB / 360.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001364/0.1228, allocations: 427.9 kB / 360.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.1229, allocations: 33.69 kB / 360.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1229, allocations: 4 kB / 360.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.1233, allocations: 56.83 kB / 360.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1235, allocations: 55.95 kB / 361 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.1257, allocations: 1.609 MB / 362.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.1261, allocations: 59.77 kB / 362.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1262, allocations: 12 kB / 362.7 MB, free: 7.219 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.0001488/0.1263, allocations: 141.8 kB / 362.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1264, allocations: 31.59 kB / 362.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.1264, allocations: 25.7 kB / 362.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1264, allocations: 0 / 362.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1264, allocations: 0 / 362.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1264, allocations: 0 / 362.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1278, allocations: 0.6435 MB / 363.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1279, allocations: 0 / 363.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.128, allocations: 23.97 kB / 363.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.1283, allocations: 56.81 kB / 363.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.1283, allocations: 12 kB / 363.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.1303, allocations: 1.59 MB / 365.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.1303, allocations: 8.078 kB / 365.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1314, allocations: 391.8 kB / 365.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1315, allocations: 104.8 kB / 365.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1315, allocations: 0 / 365.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.1318, allocations: 31.97 kB / 365.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.1319, allocations: 23.97 kB / 365.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1319, allocations: 4 kB / 365.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.1321, allocations: 190 kB / 365.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1322, allocations: 0 / 365.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.1326, allocations: 59.94 kB / 366 MB, free: 3.656 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.001388/0.134, allocations: 0.9424 MB / 366.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009674/0.1349, allocations: 390.5 kB / 367.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.135, allocations: 192 / 367.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1354, allocations: 210.5 kB / 367.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.1358, allocations: 44.69 kB / 367.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/0.2914, allocations: 3.002 MB / 370.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2916, allocations: 0.7427 MB / 371.3 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.2918, allocations: 24.27 kB / 371.3 MB, free: 23.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2919, allocations: 76.64 kB / 371.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2919, allocations: 6.156 kB / 371.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3179, allocations: 5.922 MB / 377.3 MB, free: 23.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.07, allocations: 1.406 kB / 377.3 MB, free: 23.46 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