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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.931/0.931, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.169e-05, allocations: 2.281 kB / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002942/0.002963, allocations: 2.567 MB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.00411, allocations: 0.6466 MB / 321.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004241, allocations: 7.938 kB / 321.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.004372, allocations: 35.64 kB / 321.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.004537, allocations: 99.12 kB / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.004851, allocations: 99.75 kB / 321.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.005216, allocations: 358.4 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.005385, allocations: 60.89 kB / 322.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.005598, allocations: 191.6 kB / 322.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.005722, allocations: 111.6 kB / 322.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.005762, allocations: 28 kB / 322.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.005793, allocations: 32 kB / 322.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.005845, allocations: 59.75 kB / 322.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.005937, allocations: 103.7 kB / 322.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.006234, allocations: 330.9 kB / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.006238, allocations: 0 / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.00624, allocations: 0 / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.006245, allocations: 4 kB / 323.2 MB, free: 1.578 MB / 282.7 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.0008491/0.007095, allocations: 0.5664 MB / 323.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.007132, allocations: 16.86 kB / 323.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.007174, allocations: 58.73 kB / 323.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.007223, allocations: 28.75 kB / 323.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.007507, allocations: 217.3 kB / 324.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.007522, allocations: 16.88 kB / 324.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.007546, allocations: 20.38 kB / 324.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.007968, allocations: 330.6 kB / 324.4 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.007977, allocations: 192 / 324.4 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.008006, allocations: 12.12 kB / 324.4 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.008012, allocations: 8 kB / 324.4 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.008425, allocations: 245.8 kB / 324.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.00956, allocations: 0.7984 MB / 325.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.01037, allocations: 354.3 kB / 325.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.01053, allocations: 88.78 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.01055, allocations: 4 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.01087, allocations: 225.1 kB / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.01087, allocations: 0 / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.00105/0.01192, allocations: 0.498 MB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.01198, allocations: 110.8 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.0122, allocations: 281.8 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01222, allocations: 25.7 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01232, allocations: 188 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.01234, allocations: 27.75 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.0124, allocations: 53.66 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.01249, allocations: 330.8 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.01269, allocations: 129.6 kB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.01295, allocations: 283.3 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.01333, allocations: 300.6 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.01334, allocations: 3.938 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000653/0.01399, allocations: 469.5 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.01403, allocations: 33.7 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01403, allocations: 0 / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.01426, allocations: 64.88 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01438, allocations: 55.89 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.01563, allocations: 1.498 MB / 330.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.01581, allocations: 59.73 kB / 330.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01583, allocations: 16 kB / 330.5 MB, free: 9.711 MB / 298.7 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.0001069/0.01594, allocations: 141.3 kB / 330.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.01596, allocations: 19.86 kB / 330.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.01599, allocations: 30.08 kB / 330.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01599, allocations: 4 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01599, allocations: 0 / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.016, allocations: 0 / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.01673, allocations: 0.5918 MB / 331.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01674, allocations: 3.938 kB / 331.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.0168, allocations: 23.97 kB / 331.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.01693, allocations: 60.81 kB / 331.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01694, allocations: 0 / 331.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.01803, allocations: 1.51 MB / 332.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01803, allocations: 0 / 332.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.01857, allocations: 388 kB / 333.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.0186, allocations: 27.78 kB / 333.3 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01862, allocations: 4 kB / 333.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.01875, allocations: 31.97 kB / 333.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.01882, allocations: 19.97 kB / 333.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.01883, allocations: 0 / 333.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.01897, allocations: 197.2 kB / 333.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01897, allocations: 0 / 333.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.01924, allocations: 63.89 kB / 333.6 MB, free: 6.422 MB / 298.7 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.000729/0.01997, allocations: 0.9277 MB / 334.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.02052, allocations: 419.8 kB / 334.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02053, allocations: 0 / 334.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.02074, allocations: 207.2 kB / 335.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.02104, allocations: 55.42 kB / 335.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.02422, allocations: 3.096 MB / 338.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.02432, allocations: 134.2 kB / 338.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.301e-05/0.02441, allocations: 26.28 kB / 338.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.02451, allocations: 72.48 kB / 338.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.02451, allocations: 0 / 338.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.04849, allocations: 6.913 MB / 345.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.78, allocations: 3.266 kB / 345.4 MB, free: 10.47 MB / 314.7 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.615462998859584]