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.001366/0.001366, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.00192/0.00192, allocations: 189.4 kB / 18 MB, free: 5.098 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.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 52.02 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2584, allocations: 49.44 MB / 400.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00438/0.2628, allocations: 2.735 MB / 403 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2641, allocations: 0.6661 MB / 403.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2642, allocations: 8 kB / 403.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2644, allocations: 43.56 kB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.2646, allocations: 83.27 kB / 403.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.2649, allocations: 99.8 kB / 403.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.2654, allocations: 354.5 kB / 404.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2656, allocations: 88.69 kB / 404.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2658, allocations: 131.5 kB / 404.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2661, allocations: 143.4 kB / 404.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.2661, allocations: 28 kB / 404.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.2662, allocations: 28 kB / 404.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.2662, allocations: 71.69 kB / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2664, allocations: 139.3 kB / 404.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.2668, allocations: 321.7 kB / 405.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2668, allocations: 0 / 405.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.2668, allocations: 0 / 405.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2668, allocations: 7.938 kB / 405.2 MB, free: 3.902 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.001317/0.2681, allocations: 0.6416 MB / 405.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2682, allocations: 8.031 kB / 405.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.2683, allocations: 58.72 kB / 405.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.2683, allocations: 32.75 kB / 405.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2687, allocations: 271.9 kB / 406.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2688, allocations: 16.81 kB / 406.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.2688, allocations: 24.38 kB / 406.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.2695, allocations: 281.8 kB / 406.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2695, allocations: 0 / 406.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2695, allocations: 12 kB / 406.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2695, allocations: 4 kB / 406.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.2703, allocations: 241.6 kB / 406.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.2719, allocations: 0.9026 MB / 407.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2734, allocations: 451.3 kB / 408.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.2738, allocations: 80.8 kB / 408.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2738, allocations: 12 kB / 408.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.2743, allocations: 165.8 kB / 408.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2744, allocations: 0 / 408.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.002079/0.2764, allocations: 0.5771 MB / 408.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2765, allocations: 106.8 kB / 409 MB, free: 15.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2768, allocations: 270.7 kB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2769, allocations: 25.7 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.277, allocations: 188 kB / 409.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.2771, allocations: 39.72 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.2772, allocations: 49.66 kB / 409.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2773, allocations: 342.7 kB / 409.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2777, allocations: 91.92 kB / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.2781, allocations: 201.6 kB / 410.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.2789, allocations: 309.1 kB / 410.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2789, allocations: 0 / 410.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001192/0.2801, allocations: 427.9 kB / 410.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.2801, allocations: 37.7 kB / 411 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2802, allocations: 0 / 411 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.2805, allocations: 60.88 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2807, allocations: 59.89 kB / 411.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.2832, allocations: 1.609 MB / 412.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.2835, allocations: 59.86 kB / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2836, allocations: 12 kB / 412.8 MB, free: 11.73 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.0001599/0.2837, allocations: 142.2 kB / 412.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2838, allocations: 23.8 kB / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.2838, allocations: 29.7 kB / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2838, allocations: 0 / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2839, allocations: 0 / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2839, allocations: 4 kB / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2853, allocations: 0.6438 MB / 413.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2853, allocations: 96 / 413.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2855, allocations: 31.91 kB / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.2857, allocations: 60.81 kB / 413.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2858, allocations: 0 / 413.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.2879, allocations: 1.59 MB / 415.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.288, allocations: 0 / 415.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.289, allocations: 396 kB / 415.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.2891, allocations: 104.9 kB / 415.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2892, allocations: 7.938 kB / 415.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2895, allocations: 35.97 kB / 415.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.2895, allocations: 15.97 kB / 415.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2896, allocations: 4 kB / 415.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002961/0.2899, allocations: 190 kB / 416 MB, free: 8.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2899, allocations: 0 / 416 MB, free: 8.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.2903, allocations: 67.89 kB / 416.1 MB, free: 8.156 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.001444/0.2917, allocations: 0.9315 MB / 417 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2929, allocations: 389.8 kB / 417.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2929, allocations: 4 kB / 417.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.2934, allocations: 211.5 kB / 417.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.2938, allocations: 56.48 kB / 417.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.2994, allocations: 2.995 MB / 420.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.2999, allocations: 0.7402 MB / 421.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.3001, allocations: 30.28 kB / 421.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3002, allocations: 75.41 kB / 421.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3003, allocations: 0 / 421.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3343, allocations: 6.031 MB / 427.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.93, allocations: 8.672 kB / 427.5 MB, free: 12.62 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