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.001682/0.001682, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.002161/0.002161, allocations: 213.5 kB / 23.74 MB, free: 4.691 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8 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.001527/0.001527, allocations: 47.92 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2348, allocations: 53.36 MB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004073/0.2389, allocations: 2.784 MB / 434 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2402, allocations: 0.7206 MB / 434.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2403, allocations: 7.938 kB / 434.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.2405, allocations: 43.58 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.2407, allocations: 91.27 kB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.241, allocations: 99.81 kB / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.2414, allocations: 346.6 kB / 435.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2416, allocations: 62.58 kB / 435.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.2418, allocations: 131.5 kB / 435.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.242, allocations: 147.3 kB / 435.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.242, allocations: 35.98 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.2421, allocations: 32 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.2422, allocations: 59.77 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.2423, allocations: 143.3 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.2427, allocations: 326.6 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2428, allocations: 3.938 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2428, allocations: 0 / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2428, allocations: 0 / 436.2 MB, free: 1.824 MB / 334.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.001301/0.2441, allocations: 0.5663 MB / 436.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2441, allocations: 8.031 kB / 436.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.247e-05/0.2442, allocations: 54.73 kB / 436.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.2443, allocations: 32.75 kB / 436.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.2447, allocations: 225.8 kB / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2448, allocations: 12.81 kB / 437.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2448, allocations: 24.31 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.2455, allocations: 277.8 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2455, allocations: 4 kB / 437.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2455, allocations: 12 kB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2455, allocations: 4 kB / 437.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.2463, allocations: 245.6 kB / 437.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.248, allocations: 0.8601 MB / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.2494, allocations: 370.2 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.2497, allocations: 80.8 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2498, allocations: 0 / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.2502, allocations: 177.7 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2502, allocations: 0 / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001978/0.2522, allocations: 0.498 MB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.2523, allocations: 106.8 kB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.2526, allocations: 269.9 kB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.2527, allocations: 29.7 kB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2528, allocations: 188.3 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.2528, allocations: 35.73 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.2529, allocations: 49.66 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2531, allocations: 338.8 kB / 440.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.2534, allocations: 99.86 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.2538, allocations: 206.1 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.2545, allocations: 299.8 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2545, allocations: 0 / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001149/0.2556, allocations: 431.9 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.2557, allocations: 33.7 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2557, allocations: 8 kB / 441.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.2561, allocations: 64.81 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2563, allocations: 47.91 kB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.2586, allocations: 1.514 MB / 443.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.2589, allocations: 51.81 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2589, allocations: 8 kB / 443.3 MB, free: 10.19 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.0001546/0.2591, allocations: 144.7 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.2591, allocations: 35.78 kB / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.2592, allocations: 21.72 kB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2592, allocations: 3.984 kB / 443.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2592, allocations: 0 / 443.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2592, allocations: 0 / 443.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.2605, allocations: 0.6191 MB / 444.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2605, allocations: 0 / 444.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2607, allocations: 27.97 kB / 444.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.2609, allocations: 48.83 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2609, allocations: 11.98 kB / 444.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.2629, allocations: 1.498 MB / 445.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2629, allocations: 0 / 445.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.264, allocations: 400.1 kB / 446.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.2641, allocations: 27.78 kB / 446.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2641, allocations: 8 kB / 446.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2643, allocations: 31.95 kB / 446.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.2644, allocations: 11.98 kB / 446.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2644, allocations: 11.98 kB / 446.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.2646, allocations: 189.2 kB / 446.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2646, allocations: 0 / 446.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.265, allocations: 59.95 kB / 446.5 MB, free: 6.863 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.001369/0.2664, allocations: 0.926 MB / 447.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009661/0.2673, allocations: 385.9 kB / 447.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2673, allocations: 0 / 447.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.2678, allocations: 203.2 kB / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.2681, allocations: 57 kB / 448 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.2733, allocations: 2.998 MB / 451 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.2737, allocations: 0.7401 MB / 451.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2738, allocations: 26.28 kB / 451.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2739, allocations: 75.41 kB / 451.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2739, allocations: 8 kB / 451.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.3108, allocations: 6.231 MB / 458.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.62, allocations: 11.67 kB / 458.1 MB, free: 11.14 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.107047298999532]