Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00129/0.001289, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001352, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 71.88 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2674, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003886/0.2713, allocations: 2.745 MB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2725, allocations: 0.6973 MB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2726, allocations: 7.938 kB / 412.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2728, allocations: 51.56 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.273, allocations: 87.25 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.2732, allocations: 91.83 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.2736, allocations: 350.6 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2738, allocations: 92.62 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.274, allocations: 131.5 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2742, allocations: 155.3 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.2742, allocations: 28 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.2743, allocations: 28 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.2743, allocations: 59.77 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2745, allocations: 143.3 kB / 413.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.2749, allocations: 325.7 kB / 413.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2749, allocations: 0 / 413.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2749, allocations: 0 / 413.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2749, allocations: 4 kB / 413.8 MB, free: 12.51 MB / 334.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.001197/0.2761, allocations: 0.6416 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2761, allocations: 8.031 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.2762, allocations: 58.67 kB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.2763, allocations: 32.75 kB / 414.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.2767, allocations: 275.6 kB / 414.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2767, allocations: 16.81 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.2767, allocations: 20.38 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.2774, allocations: 277.9 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2774, allocations: 0 / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.2774, allocations: 15.98 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2774, allocations: 4 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.2781, allocations: 245.5 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.2797, allocations: 0.8948 MB / 416.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.2811, allocations: 447.4 kB / 416.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.2814, allocations: 88.78 kB / 416.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2814, allocations: 8 kB / 416.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.2819, allocations: 173.7 kB / 416.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.2819, allocations: 0 / 416.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001914/0.2838, allocations: 0.5774 MB / 417.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.2839, allocations: 102.9 kB / 417.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.2842, allocations: 270.7 kB / 417.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2842, allocations: 29.7 kB / 417.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2844, allocations: 192 kB / 418.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.2844, allocations: 31.73 kB / 418.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.2845, allocations: 57.66 kB / 418.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2847, allocations: 334.8 kB / 418.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.285, allocations: 91.92 kB / 418.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.2854, allocations: 205.5 kB / 418.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.2861, allocations: 305.4 kB / 419.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2861, allocations: 0 / 419.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001154/0.2873, allocations: 427.9 kB / 419.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.2873, allocations: 33.69 kB / 419.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2873, allocations: 4 kB / 419.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.2876, allocations: 60.89 kB / 419.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2879, allocations: 51.89 kB / 419.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.2901, allocations: 1.617 MB / 421.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.2905, allocations: 55.91 kB / 421.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2905, allocations: 8 kB / 421.3 MB, free: 4.355 MB / 334.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.0001565/0.2907, allocations: 145.7 kB / 421.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2907, allocations: 23.8 kB / 421.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.2908, allocations: 25.7 kB / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2908, allocations: 0 / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2908, allocations: 0 / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2908, allocations: 3.984 kB / 421.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.2921, allocations: 0.6512 MB / 422.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2921, allocations: 0 / 422.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2923, allocations: 23.97 kB / 422.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.2925, allocations: 56.77 kB / 422.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.2925, allocations: 12.08 kB / 422.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.2945, allocations: 1.59 MB / 423.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2945, allocations: 0 / 423.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.2955, allocations: 404 kB / 424.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.2956, allocations: 101 kB / 424.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.2956, allocations: 4 kB / 424.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.2959, allocations: 31.95 kB / 424.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.2959, allocations: 15.98 kB / 424.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.296, allocations: 12 kB / 424.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.2962, allocations: 190 kB / 424.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2962, allocations: 0 / 424.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.2965, allocations: 63.89 kB / 424.7 MB, free: 0.7656 MB / 334.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.001321/0.2979, allocations: 0.9277 MB / 425.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.2988, allocations: 393.7 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2988, allocations: 0.8125 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.2992, allocations: 210.5 kB / 426.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.2996, allocations: 47.91 kB / 426.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.3046, allocations: 3.008 MB / 429.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.305, allocations: 0.744 MB / 430 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3051, allocations: 22.3 kB / 430 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3052, allocations: 75.41 kB / 430.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3052, allocations: 0 / 430.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.3395, allocations: 6.055 MB / 436.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.08, allocations: 3.938 kB / 436.1 MB, free: 5.219 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches