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.00157/0.00157, allocations: 118.2 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.001856/0.001856, allocations: 197.2 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.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004611/0.2819, allocations: 2.757 MB / 411.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2834, allocations: 0.7011 MB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2835, allocations: 7.938 kB / 412.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.2837, allocations: 35.64 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.2839, allocations: 99.19 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2843, allocations: 91.88 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.2847, allocations: 358.5 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2849, allocations: 84.7 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.285, allocations: 139.4 kB / 413.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2852, allocations: 139.4 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.2853, allocations: 28 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.2853, allocations: 28 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.2854, allocations: 67.69 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.2855, allocations: 143.3 kB / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2859, allocations: 321.7 kB / 413.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2859, allocations: 0 / 413.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2859, allocations: 0 / 413.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2859, allocations: 4 kB / 413.8 MB, free: 12.52 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.001227/0.2872, allocations: 0.6455 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2872, allocations: 12.03 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.2873, allocations: 50.73 kB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.2874, allocations: 32.75 kB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.2877, allocations: 279.6 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2878, allocations: 16.81 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2878, allocations: 20.38 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.2884, allocations: 277.9 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2884, allocations: 0 / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2885, allocations: 12 kB / 415.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2885, allocations: 4 kB / 415.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.2893, allocations: 249.5 kB / 415.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.2914, allocations: 0.8909 MB / 416.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.2936, allocations: 451.4 kB / 416.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.2941, allocations: 92.72 kB / 416.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2942, allocations: 4 kB / 416.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006469/0.2948, allocations: 169.8 kB / 416.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.2948, allocations: 7.938 kB / 416.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.003007/0.2979, allocations: 0.5732 MB / 417.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.298, allocations: 110.8 kB / 417.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.2984, allocations: 266.7 kB / 417.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2984, allocations: 25.7 kB / 417.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.2986, allocations: 192 kB / 418.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.2987, allocations: 35.73 kB / 418.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2988, allocations: 53.66 kB / 418.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.299, allocations: 334.8 kB / 418.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.2995, allocations: 91.92 kB / 418.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.3001, allocations: 201.6 kB / 418.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3012, allocations: 309.4 kB / 419.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3012, allocations: 3.938 kB / 419.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001805/0.3031, allocations: 424 kB / 419.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.3031, allocations: 37.7 kB / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3031, allocations: 48 / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.3036, allocations: 68.8 kB / 419.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.304, allocations: 55.95 kB / 419.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.3072, allocations: 1.605 MB / 421.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.3077, allocations: 55.91 kB / 421.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3077, allocations: 12 kB / 421.4 MB, free: 4.359 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.0002236/0.308, allocations: 146 kB / 421.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.3081, allocations: 23.8 kB / 421.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.3081, allocations: 29.7 kB / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3081, allocations: 0 / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3082, allocations: 3.938 kB / 421.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3082, allocations: 0 / 421.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3102, allocations: 0.6435 MB / 422.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3102, allocations: 3.938 kB / 422.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3104, allocations: 27.97 kB / 422.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.3108, allocations: 56.81 kB / 422.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3108, allocations: 4 kB / 422.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.3137, allocations: 1.601 MB / 423.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3138, allocations: 3.984 kB / 423.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3151, allocations: 392.1 kB / 424.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3153, allocations: 101 kB / 424.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3153, allocations: 4 kB / 424.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.3158, allocations: 39.95 kB / 424.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3159, allocations: 15.92 kB / 424.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3159, allocations: 4 kB / 424.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.3162, allocations: 190 kB / 424.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3162, allocations: 0 / 424.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000709/0.3169, allocations: 63.89 kB / 424.7 MB, free: 0.7695 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.001985/0.3189, allocations: 0.9319 MB / 425.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.3203, allocations: 394.5 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3203, allocations: 0 / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.321, allocations: 206.7 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.0006682/0.3217, allocations: 46.14 kB / 426.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/0.3292, allocations: 3 MB / 429.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3297, allocations: 0.744 MB / 430 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.3299, allocations: 26.28 kB / 430 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.33, allocations: 75.41 kB / 430.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3301, allocations: 0 / 430.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.3691, allocations: 6.051 MB / 436.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 7.562 kB / 436.2 MB, free: 5.223 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.0.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