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.001612/0.001612, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001958/0.001958, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001546/0.001546, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 53.33 MB / 426.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004312/0.1194, allocations: 2.764 MB / 429.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1208, allocations: 0.709 MB / 429.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.121, allocations: 7.938 kB / 429.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1212, allocations: 43.58 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1214, allocations: 87.25 kB / 430 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1217, allocations: 103.8 kB / 430.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.1221, allocations: 350.5 kB / 430.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1223, allocations: 60.7 kB / 430.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1225, allocations: 135.5 kB / 430.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1227, allocations: 143.4 kB / 430.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.1227, allocations: 28 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.1228, allocations: 28 kB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1228, allocations: 71.69 kB / 430.9 MB, free: 220 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.123, allocations: 139.3 kB / 431 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2098/0.3328, allocations: 321.7 kB / 431.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3328, allocations: 2.047 kB / 431.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3328, allocations: 1.594 kB / 431.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3328, allocations: 0.9062 kB / 431.3 MB, free: 8.332 MB / 350.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.001158/0.334, allocations: 0.6419 MB / 432 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.334, allocations: 10.16 kB / 432 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.3341, allocations: 55.31 kB / 432 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.3342, allocations: 31.41 kB / 432.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3345, allocations: 278.5 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3345, allocations: 19.92 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.3346, allocations: 19.31 kB / 432.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.3352, allocations: 277.5 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3352, allocations: 5.438 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3352, allocations: 10.31 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3352, allocations: 5.344 kB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.336, allocations: 241.8 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3373, allocations: 0.9036 MB / 433.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.3387, allocations: 432.4 kB / 434.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3391, allocations: 91.41 kB / 434.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3391, allocations: 8.297 kB / 434.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004424/0.3395, allocations: 163.1 kB / 434.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3395, allocations: 0 / 434.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002058/0.3416, allocations: 0.5764 MB / 435 MB, free: 6.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3416, allocations: 106.5 kB / 435.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3419, allocations: 270.7 kB / 435.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3419, allocations: 32.61 kB / 435.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.342, allocations: 191.6 kB / 435.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3421, allocations: 35.16 kB / 435.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.3422, allocations: 47.77 kB / 435.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.3422, allocations: 341.5 kB / 436.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.3425, allocations: 93.98 kB / 436.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.3429, allocations: 195.3 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.3436, allocations: 303.6 kB / 436.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3436, allocations: 1.031 kB / 436.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001204/0.3448, allocations: 434.7 kB / 437.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.3448, allocations: 32.89 kB / 437.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3448, allocations: 3.938 kB / 437.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.3452, allocations: 65.75 kB / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3454, allocations: 56.89 kB / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.3473, allocations: 1.599 MB / 438.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.3477, allocations: 63.22 kB / 438.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3477, allocations: 12.27 kB / 438.9 MB, free: 4.152 MB / 350.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.0001386/0.3478, allocations: 137.5 kB / 439 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3479, allocations: 28.94 kB / 439 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.3479, allocations: 24.08 kB / 439.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3479, allocations: 1.281 kB / 439.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3479, allocations: 0.6562 kB / 439.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3479, allocations: 4.141 kB / 439.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3492, allocations: 0.6459 MB / 439.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3492, allocations: 0 / 439.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3494, allocations: 26.56 kB / 439.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.3496, allocations: 56.09 kB / 439.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3496, allocations: 6.328 kB / 439.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.3513, allocations: 1.598 MB / 441.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3513, allocations: 0 / 441.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3523, allocations: 395.4 kB / 441.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.3524, allocations: 96.61 kB / 441.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3524, allocations: 6.953 kB / 441.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3527, allocations: 34.31 kB / 441.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.3528, allocations: 17.41 kB / 441.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3528, allocations: 7.203 kB / 442 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.353, allocations: 189.7 kB / 442.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 1.75 kB / 442.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3534, allocations: 67.02 kB / 442.2 MB, free: 1.961 MB / 350.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.001236/0.3547, allocations: 0.9286 MB / 443.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3557, allocations: 390.4 kB / 443.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3557, allocations: 0.8125 kB / 443.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.3561, allocations: 202.1 kB / 443.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3565, allocations: 41.36 kB / 443.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.3619, allocations: 3.02 MB / 446.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.3624, allocations: 0.7441 MB / 447.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3626, allocations: 27 kB / 447.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3627, allocations: 74.83 kB / 447.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3627, allocations: 0 / 447.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.3988, allocations: 6.089 MB / 453.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 7.719 kB / 453.7 MB, free: 13.25 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/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: 14.299299663995043]