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.0008426/0.0008426, 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.0008135/0.0008135, 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.8631/0.8631, allocations: 177 MB / 204.1 MB, free: 5.738 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.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.105e-05, allocations: 2.984 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002775/0.002796, allocations: 2.613 MB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.00372, allocations: 0.6738 MB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003836, allocations: 11.94 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.003956, allocations: 35.58 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.004101, allocations: 103.1 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.004329, allocations: 83.81 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.004621, allocations: 366.2 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.004775, allocations: 52.91 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.004944, allocations: 191.5 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.005063, allocations: 119.6 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.0051, allocations: 32 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.005127, allocations: 28 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.005172, allocations: 63.75 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.005255, allocations: 103.7 kB / 329 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.005529, allocations: 342.9 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005533, allocations: 0 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005535, allocations: 0 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005539, allocations: 0 / 329.3 MB, free: 11.04 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.0007504/0.00629, allocations: 0.5469 MB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.006333, allocations: 19.97 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.006378, allocations: 62.67 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.006432, allocations: 32.75 kB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.006728, allocations: 221 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006745, allocations: 20.88 kB / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.006767, allocations: 16.38 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.007125, allocations: 313.7 kB / 330.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.007134, allocations: 192 / 330.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.007157, allocations: 16.12 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.007163, allocations: 4 kB / 330.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.007492, allocations: 225.8 kB / 330.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.008426, allocations: 0.7623 MB / 331.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.008728, allocations: 170.6 kB / 331.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.008853, allocations: 80.73 kB / 331.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.008874, allocations: 7.938 kB / 331.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.009147, allocations: 243.7 kB / 332.1 MB, free: 8.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.009149, allocations: 0 / 332.1 MB, free: 8.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000774/0.009923, allocations: 358 kB / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.009979, allocations: 136.5 kB / 332.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01018, allocations: 277.8 kB / 332.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.0102, allocations: 29.7 kB / 332.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.0103, allocations: 184.1 kB / 333 MB, free: 7.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.01032, allocations: 47.62 kB / 333.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01039, allocations: 53.89 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.01048, allocations: 338.8 kB / 333.5 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.01064, allocations: 114.1 kB / 333.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.01085, allocations: 293.4 kB / 333.9 MB, free: 6.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.01115, allocations: 268.6 kB / 334.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01115, allocations: 4 kB / 334.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005051/0.01165, allocations: 400.1 kB / 334.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.01169, allocations: 40.97 kB / 334.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0117, allocations: 4 kB / 334.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.0119, allocations: 57.19 kB / 334.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01204, allocations: 51.89 kB / 334.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.0131, allocations: 1.469 MB / 336.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.01327, allocations: 51.75 kB / 336.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01328, allocations: 8 kB / 336.2 MB, free: 3.629 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 0.000119/0.0134, allocations: 145.8 kB / 336.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.01343, allocations: 27.8 kB / 336.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.01345, allocations: 29.77 kB / 336.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01346, allocations: 0 / 336.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01346, allocations: 0 / 336.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01346, allocations: 3.984 kB / 336.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.01407, allocations: 0.5441 MB / 336.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01407, allocations: 3.938 kB / 336.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.01414, allocations: 27.97 kB / 337 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.01428, allocations: 56.8 kB / 337 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01429, allocations: 0 / 337 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/0.01522, allocations: 1.469 MB / 338.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01522, allocations: 0 / 338.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.01563, allocations: 340 kB / 338.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.01565, allocations: 23.84 kB / 338.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01567, allocations: 8 kB / 338.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01579, allocations: 31.95 kB / 338.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.01585, allocations: 23.97 kB / 338.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01586, allocations: 0 / 338.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.01598, allocations: 197.1 kB / 339.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01598, allocations: 0 / 339.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.01623, allocations: 75.83 kB / 339.2 MB, free: 452 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.0006133/0.01684, allocations: 0.8654 MB / 340 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.01739, allocations: 407.5 kB / 340.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01739, allocations: 4 kB / 340.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.0176, allocations: 197.7 kB / 340.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.0179, allocations: 57.09 kB / 340.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.0208, allocations: 3.029 MB / 343.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.02088, allocations: 138.2 kB / 343.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.524e-05/0.02097, allocations: 30.22 kB / 343.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.02106, allocations: 76.48 kB / 344 MB, free: 11.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02106, allocations: 0 / 344 MB, free: 11.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.04293, allocations: 7.255 MB / 351.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.694, allocations: 13.73 kB / 351.2 MB, free: 4.254 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.286528203636408]