Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 214.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.12 kB / 377.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2256, allocations: 53.41 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004157/0.2298, allocations: 2.597 MB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.231, allocations: 0.6622 MB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2312, allocations: 15.88 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2313, allocations: 47.56 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2315, allocations: 91.25 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.2318, allocations: 83.84 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.2322, allocations: 346.5 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2323, allocations: 58.58 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2325, allocations: 139.4 kB / 435.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2327, allocations: 139.3 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.2327, allocations: 28 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.2328, allocations: 28 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.2328, allocations: 59.83 kB / 435.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.233, allocations: 123.4 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.2334, allocations: 330.7 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2334, allocations: 0 / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2334, allocations: 0 / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2334, allocations: 0 / 435.9 MB, free: 1.727 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001092/0.2345, allocations: 0.5623 MB / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2345, allocations: 15.98 kB / 436.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.2346, allocations: 66.66 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.2346, allocations: 36.75 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.235, allocations: 221.8 kB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.235, allocations: 16.81 kB / 436.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.2351, allocations: 20.38 kB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.2357, allocations: 316.5 kB / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2357, allocations: 0 / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2357, allocations: 12 kB / 437.1 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2357, allocations: 7.938 kB / 437.2 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.2363, allocations: 221.6 kB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.2378, allocations: 0.7653 MB / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.2383, allocations: 166.5 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2386, allocations: 80.8 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2386, allocations: 7.938 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.2391, allocations: 235.8 kB / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2391, allocations: 0 / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001324/0.2404, allocations: 358 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.2405, allocations: 132.5 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2408, allocations: 281.8 kB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2408, allocations: 25.7 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.241, allocations: 192.1 kB / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.241, allocations: 43.69 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.2411, allocations: 57.88 kB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2412, allocations: 330.8 kB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2415, allocations: 118 kB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.242, allocations: 305.3 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.2426, allocations: 271.5 kB / 440.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2426, allocations: 4 kB / 440.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00103/0.2436, allocations: 393.3 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.2436, allocations: 40.2 kB / 441.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2437, allocations: 4 kB / 441.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.244, allocations: 65.11 kB / 441.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2442, allocations: 47.91 kB / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.2461, allocations: 1.461 MB / 442.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.2465, allocations: 51.81 kB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2465, allocations: 8.281 kB / 442.7 MB, free: 10.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.2467, allocations: 165.5 kB / 442.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.2468, allocations: 23.86 kB / 442.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.2468, allocations: 29.77 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2468, allocations: 0 / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2468, allocations: 0 / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2468, allocations: 0 / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2479, allocations: 0.5412 MB / 443.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2479, allocations: 0 / 443.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.248, allocations: 23.97 kB / 443.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.2482, allocations: 56.8 kB / 443.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2483, allocations: 3.938 kB / 443.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.2498, allocations: 1.461 MB / 445 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2498, allocations: 80 / 445 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.2506, allocations: 351.2 kB / 445.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.2507, allocations: 15.86 kB / 445.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.2507, allocations: 8 kB / 445.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.251, allocations: 31.95 kB / 445.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.2511, allocations: 31.84 kB / 445.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2511, allocations: 0 / 445.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.2513, allocations: 193.2 kB / 445.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2513, allocations: 0 / 445.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000376/0.2517, allocations: 71.89 kB / 445.7 MB, free: 7.125 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.2528, allocations: 0.8803 MB / 446.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.2536, allocations: 403.6 kB / 447 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2536, allocations: 4 kB / 447 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.254, allocations: 202.5 kB / 447.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2544, allocations: 60.66 kB / 447.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.2595, allocations: 3.037 MB / 450.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2597, allocations: 142.1 kB / 450.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.2598, allocations: 26.28 kB / 450.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2599, allocations: 79.42 kB / 450.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2599, allocations: 0 / 450.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.2971, allocations: 7.112 MB / 457.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.8, allocations: 7.422 kB / 457.7 MB, free: 11.08 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.13409864762798]