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.00154/0.00154, allocations: 109.2 kB / 17.06 MB, free: 5.82 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.001658/0.001658, allocations: 195.9 kB / 18 MB, free: 4.965 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009912/0.0009912, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2598, allocations: 49.43 MB / 400.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003776/0.2636, allocations: 2.749 MB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2647, allocations: 0.6622 MB / 403.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2648, allocations: 4 kB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.265, allocations: 39.58 kB / 403.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.2652, allocations: 95.25 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2654, allocations: 95.8 kB / 403.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.2658, allocations: 362.5 kB / 404.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2659, allocations: 80.7 kB / 404.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2661, allocations: 131.5 kB / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2663, allocations: 143.4 kB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.2663, allocations: 28 kB / 404.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.2664, allocations: 32 kB / 404.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.2664, allocations: 71.69 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2666, allocations: 139.3 kB / 404.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.2669, allocations: 313.8 kB / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2669, allocations: 3.938 kB / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2669, allocations: 0 / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.2669, allocations: 0 / 405.2 MB, free: 3.863 MB / 318.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.001171/0.2681, allocations: 0.6494 MB / 405.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2681, allocations: 8.031 kB / 405.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.2682, allocations: 54.73 kB / 405.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.2683, allocations: 32.75 kB / 405.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2686, allocations: 275.9 kB / 406.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2686, allocations: 20.8 kB / 406.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.2687, allocations: 16.38 kB / 406.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.2693, allocations: 277.9 kB / 406.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2693, allocations: 4 kB / 406.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2693, allocations: 15.98 kB / 406.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2694, allocations: 4 kB / 406.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.2701, allocations: 241.6 kB / 406.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2715, allocations: 0.9026 MB / 407.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.273, allocations: 443.4 kB / 408.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.2733, allocations: 92.78 kB / 408.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2734, allocations: 4 kB / 408.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.2738, allocations: 165.8 kB / 408.4 MB, free: 464 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.2738, allocations: 4 kB / 408.4 MB, free: 460 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001944/0.2758, allocations: 0.5694 MB / 408.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.2758, allocations: 102.8 kB / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.2761, allocations: 282.7 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2762, allocations: 25.7 kB / 409.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2763, allocations: 188 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2763, allocations: 35.72 kB / 409.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.2764, allocations: 53.66 kB / 409.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2765, allocations: 330.8 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.2768, allocations: 99.91 kB / 410 MB, free: 14.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.2772, allocations: 205.5 kB / 410.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.2779, allocations: 297.5 kB / 410.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2779, allocations: 0 / 410.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001114/0.279, allocations: 431.9 kB / 410.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2791, allocations: 33.7 kB / 411 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2791, allocations: 8.062 kB / 411 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.2794, allocations: 56.81 kB / 411 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.2796, allocations: 55.91 kB / 411.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.2816, allocations: 1.621 MB / 412.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.2819, allocations: 51.81 kB / 412.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.282, allocations: 15.98 kB / 412.8 MB, free: 11.69 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.0001271/0.2821, allocations: 138.2 kB / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.2821, allocations: 31.86 kB / 412.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.2822, allocations: 30.08 kB / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2822, allocations: 0 / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2822, allocations: 0 / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2822, allocations: 0 / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2834, allocations: 0.6395 MB / 413.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2835, allocations: 7.938 kB / 413.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2836, allocations: 23.97 kB / 413.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.2838, allocations: 56.81 kB / 413.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2838, allocations: 8 kB / 413.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.2856, allocations: 1.597 MB / 415.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2857, allocations: 0 / 415.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009571/0.2866, allocations: 396 kB / 415.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.2867, allocations: 96.97 kB / 415.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.2867, allocations: 4 kB / 415.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.287, allocations: 31.95 kB / 415.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.2871, allocations: 19.92 kB / 415.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2871, allocations: 4 kB / 415.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2873, allocations: 190 kB / 416 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2873, allocations: 4 kB / 416 MB, free: 8.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.2876, allocations: 67.89 kB / 416.1 MB, free: 8.109 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.001275/0.2889, allocations: 0.9406 MB / 417 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.2898, allocations: 393.8 kB / 417.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2898, allocations: 0 / 417.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.2903, allocations: 207.2 kB / 417.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2906, allocations: 56.86 kB / 417.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.2953, allocations: 2.987 MB / 420.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2956, allocations: 0.744 MB / 421.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.2957, allocations: 26.28 kB / 421.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2958, allocations: 67.42 kB / 421.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2958, allocations: 4 kB / 421.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3219, allocations: 6.037 MB / 427.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.36, allocations: 8.688 kB / 427.6 MB, free: 12.57 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches