Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 79.7 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8728/0.8728, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.15e-05, allocations: 8.609 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002522/0.002533, allocations: 2.595 MB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.003373, allocations: 0.6894 MB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003475, allocations: 4 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003588, allocations: 43.58 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.003716, allocations: 91.19 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003933, allocations: 95.81 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.004228, allocations: 366.3 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.004387, allocations: 64.75 kB / 328.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.004563, allocations: 191.6 kB / 328.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.004685, allocations: 115.6 kB / 328.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.004727, allocations: 28 kB / 328.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.004757, allocations: 28 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.004806, allocations: 63.75 kB / 329 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.004893, allocations: 99.75 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.005188, allocations: 330.9 kB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005191, allocations: 0 / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.005192, allocations: 0 / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.005197, allocations: 0 / 329.4 MB, free: 11.09 MB / 298.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.000772/0.005969, allocations: 0.5657 MB / 330 MB, free: 10.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.006006, allocations: 12.03 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.00605, allocations: 58.72 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.006098, allocations: 36.69 kB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.00635, allocations: 217 kB / 330.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.006365, allocations: 24.86 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.006388, allocations: 16.38 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.006781, allocations: 330.7 kB / 330.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006791, allocations: 192 / 330.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.006811, allocations: 16.11 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.006818, allocations: 8 kB / 330.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.007205, allocations: 245.8 kB / 330.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.008348, allocations: 0.7984 MB / 331.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.009088, allocations: 362.2 kB / 332 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.009238, allocations: 88.78 kB / 332.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.009256, allocations: 0 / 332.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.009524, allocations: 221.2 kB / 332.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.91e-07/0.009525, allocations: 0 / 332.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009847/0.01051, allocations: 0.4979 MB / 332.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.01056, allocations: 114.8 kB / 333 MB, free: 7.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01074, allocations: 273.8 kB / 333.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01076, allocations: 33.7 kB / 333.3 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.01085, allocations: 184 kB / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.01087, allocations: 39.69 kB / 333.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.01092, allocations: 41.7 kB / 333.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.01101, allocations: 334.8 kB / 333.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.01119, allocations: 125.6 kB / 334 MB, free: 6.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01141, allocations: 274.8 kB / 334.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.01176, allocations: 304.8 kB / 334.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01176, allocations: 7.938 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005902/0.01235, allocations: 465.5 kB / 335 MB, free: 5.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.01238, allocations: 37.7 kB / 335 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01239, allocations: 4 kB / 335 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.01258, allocations: 60.88 kB / 335.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.01269, allocations: 55.89 kB / 335.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.01383, allocations: 1.51 MB / 336.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01398, allocations: 59.83 kB / 336.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.014, allocations: 12 kB / 336.7 MB, free: 3.203 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 9.109e-05/0.01409, allocations: 140.6 kB / 336.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.01411, allocations: 23.86 kB / 336.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.01413, allocations: 29.7 kB / 336.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.01413, allocations: 0 / 336.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01413, allocations: 4 kB / 336.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01414, allocations: 3.984 kB / 336.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.0148, allocations: 0.584 MB / 337.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01481, allocations: 3.984 kB / 337.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.01487, allocations: 19.98 kB / 337.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.01498, allocations: 60.81 kB / 337.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.015, allocations: 4 kB / 337.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.01624, allocations: 1.49 MB / 339.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01624, allocations: 0 / 339.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.01671, allocations: 392 kB / 339.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.01674, allocations: 27.8 kB / 339.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.01676, allocations: 3.938 kB / 339.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01688, allocations: 39.95 kB / 339.5 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.01693, allocations: 15.97 kB / 339.6 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.01694, allocations: 4 kB / 339.6 MB, free: 180 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.01708, allocations: 189.2 kB / 339.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01708, allocations: 0 / 339.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01731, allocations: 71.88 kB / 339.8 MB, free: 15.92 MB / 314.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.000677/0.01798, allocations: 0.9317 MB / 340.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.01851, allocations: 415.5 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01851, allocations: 3.938 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.01871, allocations: 203.2 kB / 341.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.01898, allocations: 48.47 kB / 341.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.02184, allocations: 3.097 MB / 344.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.638e-05/0.02192, allocations: 134.1 kB / 344.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.022, allocations: 30.28 kB / 344.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.0221, allocations: 76.47 kB / 344.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0221, allocations: 0 / 344.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.04093, allocations: 6.921 MB / 351.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/7.887, allocations: 5.75 kB / 351.7 MB, free: 3.965 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.640201074071229]