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.001412/0.001412, allocations: 127 kB / 17.79 MB, free: 5.242 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.00151/0.00151, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.476/1.476, allocations: 230.4 MB / 254 MB, free: 15.06 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.001848/0.001848, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1091, allocations: 53.38 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004817/0.1139, allocations: 2.795 MB / 429.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1153, allocations: 0.6895 MB / 429.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1155, allocations: 7.938 kB / 429.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1157, allocations: 39.58 kB / 429.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1159, allocations: 99.25 kB / 430 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1162, allocations: 83.83 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.1167, allocations: 350.5 kB / 430.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1169, allocations: 64.7 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1171, allocations: 131.5 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1173, allocations: 151.3 kB / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.1173, allocations: 32 kB / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.1174, allocations: 28 kB / 430.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.1175, allocations: 71.7 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2212/0.3387, allocations: 143.2 kB / 431.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.3392, allocations: 329.8 kB / 431.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3392, allocations: 4.625 kB / 431.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3392, allocations: 0 / 431.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3392, allocations: 0 / 431.4 MB, free: 7.938 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001183/0.3404, allocations: 0.6281 MB / 432 MB, free: 7.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3405, allocations: 9.781 kB / 432 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.3405, allocations: 54.56 kB / 432.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.3406, allocations: 35.22 kB / 432.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.341, allocations: 287.4 kB / 432.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.3411, allocations: 13.22 kB / 432.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.3411, allocations: 26.34 kB / 432.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.3417, allocations: 242.9 kB / 432.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3417, allocations: 1.812 kB / 432.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3417, allocations: 9.125 kB / 432.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3417, allocations: 4.469 kB / 432.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.3424, allocations: 222.4 kB / 432.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3438, allocations: 0.8688 MB / 433.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3443, allocations: 244.4 kB / 434 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3446, allocations: 83.78 kB / 434.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3446, allocations: 1.344 kB / 434.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.345, allocations: 161.3 kB / 434.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.345, allocations: 2.156 kB / 434.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001427/0.3464, allocations: 434.9 kB / 434.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3465, allocations: 131.8 kB / 434.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.3468, allocations: 273.4 kB / 435.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3468, allocations: 32.94 kB / 435.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3469, allocations: 187.1 kB / 435.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3469, allocations: 45.62 kB / 435.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.347, allocations: 51.23 kB / 435.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.3471, allocations: 340.1 kB / 435.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.3475, allocations: 81.88 kB / 435.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.3479, allocations: 194.9 kB / 436 MB, free: 5.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.3485, allocations: 272.2 kB / 436.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3485, allocations: 1.062 kB / 436.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008915/0.3494, allocations: 367.3 kB / 436.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.3494, allocations: 33.47 kB / 436.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3494, allocations: 3.5 kB / 436.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.3498, allocations: 62.16 kB / 436.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.35, allocations: 52.14 kB / 436.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.3515, allocations: 1.577 MB / 438.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.3518, allocations: 50.92 kB / 438.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3519, allocations: 9.984 kB / 438.4 MB, free: 3.762 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.0001265/0.352, allocations: 150.6 kB / 438.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.352, allocations: 24.2 kB / 438.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.3521, allocations: 32.11 kB / 438.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3521, allocations: 1.125 kB / 438.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3521, allocations: 3.234 kB / 438.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3521, allocations: 2.297 kB / 438.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3531, allocations: 0.5957 MB / 439.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3531, allocations: 1.094 kB / 439.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3533, allocations: 28.81 kB / 439.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.3535, allocations: 54.45 kB / 439.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3535, allocations: 5.938 kB / 439.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.3547, allocations: 1.576 MB / 440.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3547, allocations: 0 / 440.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.3555, allocations: 339.7 kB / 441.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3556, allocations: 100.3 kB / 441.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.3557, allocations: 3.922 kB / 441.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.3559, allocations: 34.16 kB / 441.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.356, allocations: 26.34 kB / 441.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.356, allocations: 5 kB / 441.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3562, allocations: 192 kB / 441.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3562, allocations: 0 / 441.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3566, allocations: 70.67 kB / 441.6 MB, free: 1.543 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.0009521/0.3575, allocations: 0.8821 MB / 442.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007958/0.3583, allocations: 369 kB / 442.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3583, allocations: 0 / 442.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.3587, allocations: 208.5 kB / 443.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3591, allocations: 44.69 kB / 443.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/0.3646, allocations: 2.936 MB / 446 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.3651, allocations: 0.7522 MB / 446.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.3652, allocations: 27.02 kB / 446.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3654, allocations: 79.27 kB / 446.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3654, allocations: 0 / 446.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.402, allocations: 6.352 MB / 453.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.46, allocations: 5.234 kB / 453.3 MB, free: 12.81 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: 14.995957653038204]