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.0008621/0.0008621, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008762/0.0008762, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8765/0.8765, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.844e-06/1.844e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.134e-05, allocations: 2.281 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002819/0.00284, allocations: 2.608 MB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.003713, allocations: 0.6739 MB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003824, allocations: 7.938 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003943, allocations: 39.58 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.004084, allocations: 99.12 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.004305, allocations: 83.83 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.004583, allocations: 366.2 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.004742, allocations: 60.89 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.00491, allocations: 195.5 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005024, allocations: 107.6 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.005059, allocations: 28 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.005089, allocations: 32 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.005131, allocations: 63.73 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.00521, allocations: 107.7 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.005459, allocations: 334.9 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.005463, allocations: 3.984 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005464, allocations: 4 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005469, allocations: 0 / 329.3 MB, free: 11.02 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00103/0.006499, allocations: 0.5508 MB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006534, allocations: 11.98 kB / 329.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.00658, allocations: 58.67 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.006628, allocations: 36.73 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.006921, allocations: 221.1 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.006938, allocations: 16.88 kB / 330.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.006965, allocations: 24.38 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.007334, allocations: 313.7 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.007342, allocations: 192 / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.007362, allocations: 16.09 kB / 330.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.007369, allocations: 12 kB / 330.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.007698, allocations: 221.8 kB / 330.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.008594, allocations: 0.7584 MB / 331.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.008892, allocations: 170.6 kB / 331.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.009015, allocations: 88.67 kB / 331.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.009031, allocations: 0 / 331.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.009295, allocations: 250.7 kB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.009296, allocations: 0 / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007406/0.01004, allocations: 362 kB / 332.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.01009, allocations: 136.5 kB / 332.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.01027, allocations: 269.8 kB / 332.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.01029, allocations: 33.7 kB / 332.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.01037, allocations: 188.1 kB / 333 MB, free: 7.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.0104, allocations: 39.62 kB / 333.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.01046, allocations: 53.89 kB / 333.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.01054, allocations: 338.8 kB / 333.5 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.01069, allocations: 110.1 kB / 333.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.0109, allocations: 301.4 kB / 333.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.01119, allocations: 267.5 kB / 334.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01119, allocations: 0 / 334.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004819/0.01167, allocations: 405.2 kB / 334.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.0117, allocations: 34.08 kB / 334.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.0117, allocations: 4 kB / 334.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.01189, allocations: 56.8 kB / 334.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01202, allocations: 55.89 kB / 334.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.01304, allocations: 1.461 MB / 336.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.0132, allocations: 59.73 kB / 336.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01321, allocations: 8.062 kB / 336.2 MB, free: 3.609 MB / 298.7 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 9.881e-05/0.01331, allocations: 145.8 kB / 336.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.01333, allocations: 27.8 kB / 336.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.01336, allocations: 25.77 kB / 336.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01336, allocations: 4 kB / 336.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01336, allocations: 0 / 336.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01336, allocations: 0 / 336.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.01395, allocations: 0.5489 MB / 336.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01395, allocations: 3.938 kB / 336.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.01402, allocations: 23.97 kB / 337 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.01413, allocations: 48.81 kB / 337 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01414, allocations: 7.984 kB / 337 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.015, allocations: 1.469 MB / 338.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.015, allocations: 0 / 338.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.0154, allocations: 339.3 kB / 338.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.01543, allocations: 31.84 kB / 338.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01544, allocations: 0 / 338.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.01556, allocations: 32.03 kB / 338.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.01562, allocations: 23.95 kB / 338.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01563, allocations: 7.938 kB / 338.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.01575, allocations: 193.2 kB / 339.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01575, allocations: 0 / 339.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01598, allocations: 71.83 kB / 339.2 MB, free: 436 kB / 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: 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.0005664/0.01654, allocations: 0.8653 MB / 340 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.01701, allocations: 407.5 kB / 340.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01701, allocations: 0 / 340.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.01721, allocations: 206.6 kB / 340.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01747, allocations: 49.09 kB / 340.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.02021, allocations: 3.032 MB / 343.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.072e-05/0.02029, allocations: 138.2 kB / 343.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.02036, allocations: 34.22 kB / 343.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.02045, allocations: 80.47 kB / 344 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02045, allocations: 4 kB / 344 MB, free: 11.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.04588, allocations: 7.25 MB / 351.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.645, allocations: 3.938 kB / 351.2 MB, free: 4.242 MB / 314.7 MB " [Timeout remaining time 652] (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/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_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: 9.367148878984153]